Re: PQgetvalue: ERROR! tuple number 0 is out of range 0..-1

Поиск
Список
Период
Сортировка
От Jim Mercer
Тема Re: PQgetvalue: ERROR! tuple number 0 is out of range 0..-1
Дата
Msg-id 20010607083947.E10741@reptiles.org
обсуждение исходный текст
Ответ на PQgetvalue: ERROR! tuple number 0 is out of range 0..-1  (mlw <markw@mohawksoft.com>)
Список pgsql-hackers
On Thu, Jun 07, 2001 at 08:36:48AM -0400, mlw wrote:
> I get this a lot and it keeps me from backing up the database.
> 
> This database is still 7.0.3. Anyone knows what cases it and how to correct
> it, because I can't dump to a new database.

is this coming from one of your applications?
"PQgetvalue: ERROR! tuple number 0 is out of range 0..-1"

if so, the it is possible that the application is doing a select, which
returns 0 rows.

and your application is attempting to access the value of a non-existant row.

-- 
[ Jim Mercer        jim@reptiles.org         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]


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

Предыдущее
От: mlw
Дата:
Сообщение: PQgetvalue: ERROR! tuple number 0 is out of range 0..-1
Следующее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: AW: AW: Re: [SQL] behavior of ' = NULL' vs. MySQL vs. S tand ards