Re: [PATCHES] prepareable statements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [PATCHES] prepareable statements
Date: 2002-07-23 15:34:39
Message-ID: 4984.1027438479@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

nconway(at)klamath(dot)dyndns(dot)org (Neil Conway) writes:
> Regarding the syntax for EXECUTE, it occurs to me that it could be made
> to be more similar to the PREPARE syntax -- i.e.

> PREPARE foo(text, int) AS ...;

> EXECUTE foo('a', 1);

> (rather than EXECUTE USING -- the effect being that prepared statements
> now look more like function calls on a syntactical level, which I think
> is okay.)

Hmm, maybe *too* much like a function call. Is there any risk of a
conflict with syntax that we might want to use to invoke stored
procedures? If not, this is fine with me.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-07-23 15:42:37 Re: [PATCHES] Demo patch for DROP COLUMN
Previous Message Greg Copeland 2002-07-23 14:56:44 Re: RAMDISK

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-07-23 15:42:37 Re: [PATCHES] Demo patch for DROP COLUMN
Previous Message Christopher Kings-Lynne 2002-07-23 01:35:48 Re: [PATCHES] Demo patch for DROP COLUMN