Search Postgresql Archives

Re: meaning of PQresultStatus types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jois.de.vivre@xxxxxxxxx writes:
> My question is, what constitutes a PGRES_FATAL_ERROR or a
> PGRES_BAD_RESPONSE?

FATAL is probably a bad choice of words here; it basically means any
error condition reported by the server that caused execution of your
query to be abandoned.  NONFATAL_ERROR actually means "notice or
warning message", and isn't a possible return code from PQexec anyway.

I think BAD_RESPONSE is historical at the moment; I don't see it being
generated anywhere in the library.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux