[HACKERS] Patch for cursor calling with named parameters

2011-09-15 Thread Yeb Havinga
Hello list, The following patch implements cursor calling with named parameters in addition to the standard positional argument lists. c1 cursor (param1 int, param2 int) for select * from rc_test where a param1 and b param2; open c1($1, $2); -- this is currently

Re: [HACKERS] Patch for cursor calling with named parameters

2011-09-15 Thread Cédric Villemain
2011/9/15 Yeb Havinga yebhavi...@gmail.com: Hello list, The following patch implements cursor calling with named parameters in addition to the standard positional argument lists. c1 cursor (param1 int, param2 int) for select * from rc_test where a param1 and b param2; open c1($1, $2);    

Re: [HACKERS] Patch for cursor calling with named parameters

2011-09-15 Thread Yeb Havinga
On 2011-09-15 16:31, Cédric Villemain wrote: There exist also a mecanism to order the parameters of 'EXECUTE ... USING ...' (it's using a cursor), can the current work benefit to EXECUTE USING to use named parameters ? I looked at it a bit but it seems there is no benefit, since the dynamic