Re: RESET SESSION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RESET SESSION
Дата
Msg-id 20490.1175271535@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RESET SESSION  ("Marko Kreen" <markokr@gmail.com>)
Ответы Re: RESET SESSION  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
"Marko Kreen" <markokr@gmail.com> writes:
>  RESET TEMPS            -- please suggest better name

RESET TEMP (should allow RESET TEMPORARY too).  I see no reason to add
a new keyword when the existing one will do fine.

> So in the end RESET SESSION basically executes following commands:

>  ABORT;

I object to having RESET SESSION include an ABORT.  That will make it
a transaction control statement and complicate matters for a whole
lot of things.  If you don't know whether you're in a transaction or
not, you can send ABORT for yourself, but in practice I think most
client code already tracks that (or easily can).

            regards, tom lane

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: index support is NULL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fwd: Re: [pgsql-patches] pg_get_domaindef