Skip site navigation (1) Skip section navigation (2)

What does error code PGSQL_TUPLES_OK (2) actually mean?

From: john_ramsden(at)sagitta-ps(dot)com (John Ramsden)
To: pgsql-general(at)postgresql(dot)org
Subject: What does error code PGSQL_TUPLES_OK (2) actually mean?
Date: 2004-05-28 11:30:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
I have ported a PHP MySQL app to PostgreSQL, and a pg_send_query()
call is returning error code 2 (PGSQL_TUPLES_OK). Unfortunately
the PHP manual lists the error codes but doesn't indicate what
they mean, and pg_result_error() returns a blank message.

As the token ends in '_OK', I suspect 'error' 2 isn't an error
at all, but some kind of OK status. However, I'd like to confirm
that. Does anyone have a reference where PostgreSQL error codes
are listed along with the meaning of each?


John R Ramsden


pgsql-general by date

Next:From: xierDate: 2004-05-28 12:04:56
Subject: PostgreSQL delete the blank in the end of the String automatically. how can I avoid it?
Previous:From: Rory Campbell-LangeDate: 2004-05-28 11:22:47
Subject: pg_dump and schema namespace notes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group