pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yeb Havinga <yebhavinga@gmail.com>
To: Cédric Villemain <cedric.villemain.debian@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Patch for cursor calling with named parameters
Date: Thu, 15 Sep 2011 17:30:56 +0200
Message-ID: <4E721A30.1040404@gmail.com> (raw)
In-Reply-To: <CAF6yO=066NxvXn40+5jUwY_wPHkQuY0fFfbjbYfRrdhCY4_dZw@mail.gmail.com>
References: <4E71B4C4.3010004@gmail.com>
	<CAF6yO=066NxvXn40+5jUwY_wPHkQuY0fFfbjbYfRrdhCY4_dZw@mail.gmail.com>

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




view thread (37+ messages)  latest in thread

Message-ID: <4E721A30.1040404@gmail.com>
Permalink:  ../4E721A30.1040404@gmail.com/
Also on:    postgresql.org/message-id/4E721A30.1040404@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: yebhavinga@gmail.com, cedric.villemain.debian@gmail.com
  Subject: Re: Patch for cursor calling with named parameters
  In-Reply-To: <4E721A30.1040404@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox