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
|
4
|
5
(1) |
6
(1) |
7
(2) |
8
(3) |
9
|
10
|
11
(2) |
12
(6) |
13
|
14
(4) |
15
(6) |
16
(1) |
17
|
18
|
19
(5) |
20
(2) |
21
(3) |
22
(1) |
23
(4) |
24
(1) |
25
(5) |
26
(5) |
27
(2) |
28
|
29
(1) |
30
|
31
(1) |
|
|
|
|
|
|
From: Ashutosh B. <ash...@en...> - 2011-07-20 09:17:27
|
On Wed, Jul 20, 2011 at 5:56 AM, Michael Paquier <mic...@gm...>wrote: > Even if the method of parameters is a good approach, I am still wondering > if it makes the implementation easier or not. > Is there a basic mechanism in Postgres that permits to transform an > expression function into a parameter? > > I am also wondering about cases where you may have functions calling other > functions. > date_trunc(now()), statement_timestamp - transaction_timestamp, etc. > > Maybe we may need some new basic mechanism to be able to support queries > like: > create sequence foo; > create table footab (a int); > INSERT INTO footab values (nextval('foo')); > > This could be a new node type that could be used inside RemoteQuery plans > to deal with non-immutable functions feed. > And the remote query plan may be able to rebuild the query in a correct way > before pushing it down to nodes. > But I am still new to those mechanisms so perhaps my words are not adapted. > Any help is welcome of course. > Not sure, but take a look at ExecEvalParamExec and in general ParamExec usage. > > On Tue, Jul 19, 2011 at 4:02 PM, Ashutosh Bapat < > ash...@en...> wrote: > >> >> >>> >>>> Hmm, I didn't think of this case :( >>>> >>>> I think, this will be a generic problem, if the queries other than >>>> INSERT also use nextval() on sequences. There is less probability that >>>> SELECT will use it but UPDATEs are other potential candidates. >>>> >>> Yes, you got a point here. > I am just wondering about what kind of mechanisms I could borrow or extend > in Postgres to support such things. > Those basics are necessary for the feed of non-immutable functions, and its > design should be done with care. > -- > Michael Paquier > http://michael.otacoo.com > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Michael P. <mic...@gm...> - 2011-07-20 00:26:29
|
Even if the method of parameters is a good approach, I am still wondering if it makes the implementation easier or not. Is there a basic mechanism in Postgres that permits to transform an expression function into a parameter? I am also wondering about cases where you may have functions calling other functions. date_trunc(now()), statement_timestamp - transaction_timestamp, etc. Maybe we may need some new basic mechanism to be able to support queries like: create sequence foo; create table footab (a int); INSERT INTO footab values (nextval('foo')); This could be a new node type that could be used inside RemoteQuery plans to deal with non-immutable functions feed. And the remote query plan may be able to rebuild the query in a correct way before pushing it down to nodes. But I am still new to those mechanisms so perhaps my words are not adapted. Any help is welcome of course. On Tue, Jul 19, 2011 at 4:02 PM, Ashutosh Bapat < ash...@en...> wrote: > > >> >>> Hmm, I didn't think of this case :( >>> >>> I think, this will be a generic problem, if the queries other than INSERT >>> also use nextval() on sequences. There is less probability that SELECT will >>> use it but UPDATEs are other potential candidates. >>> >> Yes, you got a point here. I am just wondering about what kind of mechanisms I could borrow or extend in Postgres to support such things. Those basics are necessary for the feed of non-immutable functions, and its design should be done with care. -- Michael Paquier http://michael.otacoo.com |