agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Yeb Havinga <[email protected]>
To: Royce Ausburn <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: [REVIEW] Patch for cursor calling with named parameters
Date: Tue, 11 Oct 2011 14:38:37 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Hello Royce,

Thanks again for testing.

On 2011-10-11 13:55, Royce Ausburn wrote:

> Just one small thing: it'd be nice to have an example for cursor declaration with named parameters.  Your patch adds one for opening a cursor, but not for declaring one.

Declaration of cursors with named parameters is already part of 
PostgreSQL (so it is possible to use the parameter names in the cursor 
query instead of $1, $2, etc.) and it also already documented with an 
example, just a few lines above the open examples. See curs3 on 
http://developer.postgresql.org/pgdocs/postgres/plpgsql-cursors.html

> Other than that, I think the patch is good.  Everything works as advertised =)

Thanks!

-- 
Yeb Havinga
http://www.mgrid.net/
Mastering Medical Data




view thread (38+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [REVIEW] Patch for cursor calling with named parameters
  In-Reply-To: <[email protected]>

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

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