Re: [PATCHES] prepareable statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] prepareable statements
Дата
Msg-id 4984.1027438479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] prepareable statements  (nconway@klamath.dyndns.org (Neil Conway))
Ответы Re: [PATCHES] prepareable statements  (Rod Taylor <rbt@zort.ca>)
Список pgsql-hackers
nconway@klamath.dyndns.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: RAMDISK
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Demo patch for DROP COLUMN