Re: [PATCHES] prepareable statements
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Neil Conway <nconway@klamath.dyndns.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Development <pgsql-hackers@postgreSQL.org>
Date: 2002-07-25T20:54:04Z
Lists: pgsql-hackers
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.)
I'm not sure I like that. It seems too confusing. Why not keep it as the
standard says? (After all, it is the PREPARE part that we're adjusting,
not EXECUTE.)
--
Peter Eisentraut peter_e@gmx.net