Re: SQLSTATE of notice PGresult

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SQLSTATE of notice PGresult
Date: 2010-09-22 08:18:41
Message-ID: AANLkTi=44tzZsEV2Mi8__jhvHD83inktaaVC1dXgZ2VC@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hey all,

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

--
Regards,
Dmitriy

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-09-22 08:18:53 Re: Configuring synchronous replication
Previous Message subham 2010-09-22 08:14:38 Needs Suggestion