Re: Patch for cursor calling with named parameters

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch for cursor calling with named parameters
Date: 2011-09-15 15:30:56
Message-ID: 4E721A30.1040404@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-09-15 15:57:56 Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)
Previous Message Heikki Linnakangas 2011-09-15 15:27:55 Re: Double sorting split patch