You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(17) |
Jun
(3) |
Jul
|
Aug
|
Sep
(8) |
Oct
(18) |
Nov
(51) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(47) |
Feb
(44) |
Mar
(44) |
Apr
(102) |
May
(35) |
Jun
(25) |
Jul
(56) |
Aug
(69) |
Sep
(32) |
Oct
(37) |
Nov
(31) |
Dec
(16) |
2012 |
Jan
(34) |
Feb
(127) |
Mar
(218) |
Apr
(252) |
May
(80) |
Jun
(137) |
Jul
(205) |
Aug
(159) |
Sep
(35) |
Oct
(50) |
Nov
(82) |
Dec
(52) |
2013 |
Jan
(107) |
Feb
(159) |
Mar
(118) |
Apr
(163) |
May
(151) |
Jun
(89) |
Jul
(106) |
Aug
(177) |
Sep
(49) |
Oct
(63) |
Nov
(46) |
Dec
(7) |
2014 |
Jan
(65) |
Feb
(128) |
Mar
(40) |
Apr
(11) |
May
(4) |
Jun
(8) |
Jul
(16) |
Aug
(11) |
Sep
(4) |
Oct
(1) |
Nov
(5) |
Dec
(16) |
2015 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(5) |
May
(4) |
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(7) |
2
(2) |
3
(8) |
4
|
5
|
6
|
7
|
8
(4) |
9
(3) |
10
|
11
|
12
|
13
|
14
(3) |
15
|
16
|
17
(1) |
18
|
19
|
20
|
21
(2) |
22
|
23
|
24
(1) |
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
From: Michael P. <mic...@gm...> - 2011-11-09 12:53:12
|
On Wed, Nov 9, 2011 at 5:46 PM, Ashutosh Bapat < ash...@en...> wrote: > I have few comments about style (Somebody still needs it to be looked from > CREATE TABLE angle) > Regarding create table, it uses the structure introduced in create ddl commit, so I'm not sure there is something that needs to be added. > > Instead of using "!= LOCATOR_TYPE_REPLICATED", we should rather check > whether it's one of MODULO, HASH, CUSTOM etc. and throw error for unhandled > cases. That will protect us from any crashes caused by adding new > LOCATOR_TYPE, which is not REPLICATED or distributed. > OK, I will change the code in consequence it is not a big matter, but it will make the if checks a bit heavier. > > + /* Look at the subqueries */ > + if (rte->rtekind == RTE_SUBQUERY && > + !is_subcluster_mapping(rte->subquery->rtable)) > + return false; > This piece of code looks tricky. Where is the nodelist and locator_type > for a subquery stored? The global_locator_type and inter_nodelist are > variables local to function and will not be updated across the recursive > calls to the function. To be honest, I had a look at this part of the code and saw that get_plan_nodes_walker was also used for subqueries themselves. So it is not necessary and the subquery node list is evaluated automatically with its own rtable separately. -- Michael Paquier http://michael.otacoo.com |
From: Ashutosh B. <ash...@en...> - 2011-11-09 08:46:24
|
I have few comments about style (Somebody still needs it to be looked from CREATE TABLE angle) Instead of using "!= LOCATOR_TYPE_REPLICATED", we should rather check whether it's one of MODULO, HASH, CUSTOM etc. and throw error for unhandled cases. That will protect us from any crashes caused by adding new LOCATOR_TYPE, which is not REPLICATED or distributed. + /* Look at the subqueries */ + if (rte->rtekind == RTE_SUBQUERY && + !is_subcluster_mapping(rte->subquery->rtable)) + return false; This piece of code looks tricky. Where is the nodelist and locator_type for a subquery stored? The global_locator_type and inter_nodelist are variables local to function and will not be updated across the recursive calls to the function. On Wed, Nov 9, 2011 at 12:01 PM, Michael Paquier <mic...@gm...>wrote: > Please find attached the updated patch based on your comments. > This time also is a simple O(n) and passes all the tests. > > -- > Michael Paquier > http://michael.otacoo.com > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Michael P. <mic...@gm...> - 2011-11-09 06:32:04
|
Please find attached the updated patch based on your comments. This time also is a simple O(n) and passes all the tests. -- Michael Paquier http://michael.otacoo.com |