Re: NOTICE vs WARNING

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: NOTICE vs WARNING
Дата
Msg-id 04f701c371bd$2360cd10$2800a8c0@mars
обсуждение исходный текст
Ответ на Re: NOTICE vs WARNING  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: NOTICE vs WARNING  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> In fact, I like the criterion that a warning should be raised rather than
> a notice if the effect of the command deviates from what the command
> actually says.  That puts the messages for serials, primary keys, drop
> cascades clearly into notices, messages about missing, implicitly added,
> or changed syntax clauses into warnings.
>
> I don't think the dump reload scenario is particularly important.  After
> all, psql or pg_restore don't act differently upon notice or warning, it's
> just something that the user reads.

WARNINGs don't cause transaction rollback, right?  Cos if they did, changing
NOTICEs to WARNINGs would cause pain.

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Win32 native port
Следующее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: Is it a memory leak in PostgreSQL 7.4beta?