SQLSTATEs for warnings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема SQLSTATEs for warnings
Дата
Msg-id Pine.LNX.4.56.0307271713060.1197@krusty.credativ.de
обсуждение исходный текст
Ответы Re: SQLSTATEs for warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The SQL standard states

An implementation-defined completion condition shall be indicated by
returning an implementation-defined subclass in conjunction with one of
the classes successful completion, warning, or no data.

In other words, an info, notice, or warning must have a class 00, 01, 02.
However, I noticed several warnings that use codes that are intended for
errors, for example in portalcmds.c and xact.c.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Some macros for error field codes
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Passing server_encoding to the client is not future-proof