What does error code PGSQL_TUPLES_OK (2) actually mean?

Поиск
Список
Период
Сортировка
От john_ramsden@sagitta-ps.com (John Ramsden)
Тема What does error code PGSQL_TUPLES_OK (2) actually mean?
Дата
Msg-id d27434e.0405280330.5bda119c@posting.google.com
обсуждение исходный текст
Список 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?


Cheers

John R Ramsden

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

Предыдущее
От: Samuele Brignoli
Дата:
Сообщение: date/time field value out of range
Следующее
От: jarednevans@yahoo.com
Дата:
Сообщение: Re: Problem with public schema