Re: Patch for cursor calling with named parameters
Yeb Havinga <yebhavinga@gmail.com>
From: Yeb Havinga <yebhavinga@gmail.com>
To: Cédric Villemain <cedric.villemain.debian@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-09-15T15:30:56Z
Lists: pgsql-hackers
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 sql handling vs the cursor declaration and opening touch different code paths in both the plpgsql grammar and the SPI functions that are called. regards, Yeb