Re: SQLSTATE of notice PGresult
От | Robert Haas |
---|---|
Тема | Re: SQLSTATE of notice PGresult |
Дата | |
Msg-id | AANLkTi=nP47gtNSC=gKuFzOxbCqcG6HrsCgLvsFqa7ft@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: SQLSTATE of notice PGresult (Dmitriy Igrishin <dmitigr@gmail.com>) |
Ответы |
Re: SQLSTATE of notice PGresult
Re: SQLSTATE of notice PGresult |
Список | pgsql-hackers |
On Wed, Sep 22, 2010 at 4:18 AM, Dmitriy Igrishin <dmitigr@gmail.com> wrote: > Okay, as Robert points, "00000" code in successful messages seems as waste > of bytes. But according to the documentation, "All messages emitted by the > PostgreSQL server are assigned five-character error codes that follow the > SQL > standard's conventions for "SQLSTATE" codes." - the first sentence of > http://www.postgresql.org/docs/9.0/static/errcodes-appendix.html Sounds like that wording needs some adjustment. I'm not even sure that it would be correct to say "All error messages...", unless elog(ERROR, "can't happen") throws something into that field. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company
В списке pgsql-hackers по дате отправления: