Re: [PATCHES] prepareable statements

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCHES] prepareable statements
Дата
Msg-id Pine.LNX.4.44.0207242132300.1144-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [PATCHES] prepareable statements  (nconway@klamath.dyndns.org (Neil Conway))
Ответы Re: [PATCHES] prepareable statements  (nconway@klamath.dyndns.org (Neil Conway))
Список 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



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

Предыдущее
От: "Kangmo, Kim"
Дата:
Сообщение: Re: tuple concurrently updated
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE SYNONYM suggestions