Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Дата
Msg-id CA+TgmoZvJLqTve8ipfqwGcvjNWVZay9C0YVT=ff1_Rci4FVkMg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Tue, Nov 19, 2013 at 1:05 PM, Bruce Momjian <bruce@momjian.us> wrote:
> A patch to issue only warnings is attached.  In a way this change
> improves the code by throwing errors only when the commands are invalid,
> rather than just useless.  You could argue that ROLLBACK TO SAVEPOINT
> should throw an error because no savepoint name is valid in that
> context.

-1 from me.  I don't see this as a step forward in any way.  The
output is a complete muddle, and it's not solving any problem that I
can see.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: -d option for pg_isready is broken
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block