Re: prepareable statements

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: prepareable statements
Дата
Msg-id 1028154261.4116.40.camel@jester
обсуждение исходный текст
Ответ на prepareable statements  (nconway@klamath.dyndns.org (Neil Conway))
Список pgsql-patches
> Peter objected to the EXECUTE syntax, whereas Rod Taylor said it was
> good. Not really sure which way to go...

Why I like Execute:

CALL is for use with functions, so they're different (non-conflicting)
commands.

Works like a function call -- but it's not a function.  It implies your
running something that has been prepared or compiled.  You compile the
source (etc.), then execute the binary.

You prepare the statement, then execute the result.

Lastly, Perl (DBI) uses execute(args) for a prepared statement so it's
somewhat familiar for a large group.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: lock listing
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: int64 timestamp patch for contrib/pg_controldata