Re: Patch for cursor calling with named parameters - Mailing list pgsql-hackers

From Yeb Havinga
Subject Re: Patch for cursor calling with named parameters
Date
Msg-id 4E721A30.1040404@gmail.com
Whole thread Raw
In response to Re: Patch for cursor calling with named parameters  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Double sorting split patch
Next
From: Heikki Linnakangas
Date:
Subject: Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)