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
|
2
(3) |
3
(10) |
4
(3) |
5
(10) |
6
(2) |
7
(1) |
8
|
9
|
10
(1) |
11
|
12
(4) |
13
(1) |
14
|
15
|
16
|
17
(5) |
18
(1) |
19
(2) |
20
(5) |
21
(7) |
22
|
23
|
24
(11) |
25
(6) |
26
(12) |
27
(5) |
28
|
29
|
30
|
|
|
|
|
|
|
From: Matt W. <MW...@XI...> - 2013-06-20 20:45:59
|
Just a quick question about contributing fixes. I've had to make some minor changes to get XC compiled on Solaris x64. What format would you like to see for the changes? Most are very minor, such as removing return statements inside void functions (which the Solaris compiler flags as incorrect since you can't return from a void function). Matt |
From: Koichi S. <koi...@gm...> - 2013-06-20 07:32:39
|
I agree on Ashutosh's comment but this may need another analysis and cleanup of the current code blocking distribution column updates too. Could be time consuming so I think Amit's approach is okay now (we need a cleanup anyway later). Regards; ---------- Koichi Suzuki 2013/6/20 Amit Khandekar <ami...@en...> > > > On 20 June 2013 11:25, Ashutosh Bapat <ash...@en...>wrote: > >> HI Amit, >> Can we move this check deep into heap_update or something? That way we >> can cover all the ways partition column can be updated. >> > > That needs some amount of analysis on to what extent these checks in > heap_update() impacts performance. Currently we disallow updating partition > columns in SQLs, so a user would expect restricting such updates everywhere > else, and trigger is one area where these updates are silently ignored. > > >> >> On Thu, Jun 20, 2013 at 10:25 AM, Amit Khandekar < >> ami...@en...> wrote: >> >>> Currently there is no check if the trigger function has modified the >>> partition column for UPDATE. Attached patch does the verification in >>> ExecBRUpdateTriggers(). INSERT does not require it, because it is a new row >>> being inserted, and if the trigger function modifies the column values, the >>> INSERT gets executed on the datanode corresponding to the final >>> distribution value of the row. >>> >>> A user can still make the trigger function immutable and if this trigger >>> runs on datanode, it will be able to do partition column updates, but then >>> it can be done by any other function by just making it immutable and doing >>> partition column updates via an SQL statement; it's the user's >>> reponsibility to mark functions immutable carefully. >>> >>> Added testcases in xc_triggers.sql. >>> >>> -Amit >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Postgres-xc-developers mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >>> >>> >> >> >> -- >> Best Wishes, >> Ashutosh Bapat >> EntepriseDB Corporation >> The Postgres Database Company >> > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Amit K. <ami...@en...> - 2013-06-20 06:12:24
|
On 20 June 2013 11:25, Ashutosh Bapat <ash...@en...>wrote: > HI Amit, > Can we move this check deep into heap_update or something? That way we can > cover all the ways partition column can be updated. > That needs some amount of analysis on to what extent these checks in heap_update() impacts performance. Currently we disallow updating partition columns in SQLs, so a user would expect restricting such updates everywhere else, and trigger is one area where these updates are silently ignored. > > On Thu, Jun 20, 2013 at 10:25 AM, Amit Khandekar < > ami...@en...> wrote: > >> Currently there is no check if the trigger function has modified the >> partition column for UPDATE. Attached patch does the verification in >> ExecBRUpdateTriggers(). INSERT does not require it, because it is a new row >> being inserted, and if the trigger function modifies the column values, the >> INSERT gets executed on the datanode corresponding to the final >> distribution value of the row. >> >> A user can still make the trigger function immutable and if this trigger >> runs on datanode, it will be able to do partition column updates, but then >> it can be done by any other function by just making it immutable and doing >> partition column updates via an SQL statement; it's the user's >> reponsibility to mark functions immutable carefully. >> >> Added testcases in xc_triggers.sql. >> >> -Amit >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Postgres-xc-developers mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >> >> > > > -- > Best Wishes, > Ashutosh Bapat > EntepriseDB Corporation > The Postgres Database Company > |
From: Ashutosh B. <ash...@en...> - 2013-06-20 05:55:40
|
HI Amit, Can we move this check deep into heap_update or something? That way we can cover all the ways partition column can be updated. On Thu, Jun 20, 2013 at 10:25 AM, Amit Khandekar < ami...@en...> wrote: > Currently there is no check if the trigger function has modified the > partition column for UPDATE. Attached patch does the verification in > ExecBRUpdateTriggers(). INSERT does not require it, because it is a new row > being inserted, and if the trigger function modifies the column values, the > INSERT gets executed on the datanode corresponding to the final > distribution value of the row. > > A user can still make the trigger function immutable and if this trigger > runs on datanode, it will be able to do partition column updates, but then > it can be done by any other function by just making it immutable and doing > partition column updates via an SQL statement; it's the user's > reponsibility to mark functions immutable carefully. > > Added testcases in xc_triggers.sql. > > -Amit > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Postgres Database Company |