Re: Problems about extracting data with cgi's

Поиск
Список
Период
Сортировка
От Anthony E . Greene
Тема Re: Problems about extracting data with cgi's
Дата
Msg-id 20010103234119.C4634@cp5340
обсуждение исходный текст
Ответ на Problems about extracting data with cgi's  (Shterke Seben <shterke@yahoo.com>)
Список pgsql-general
On Wed, 03 Jan 2001 17:39:40 Shterke Seben wrote:
>[Wed Jan  3 09:34:37 2001] [notice] Apache/1.3.12
>(Unix)  (Red Hat/Linux) mod_ss
>l/2.6.6 OpenSSL/0.9.5a PHP/4.0.4 mod_perl/1.24
>configured -- resuming normal ope
>rations
>PQgetvalue: ERROR! tuple number 0 is out of range
>0..-1
>PQgetvalue: ERROR! tuple number 0 is out of range
>0..-1

Use psql as the user who ran this query and run the the query manually. It's
likely that there are no rows returned for some reason. The error message
you got is what happens when you try to getvalue when there are no rows in
the result object.

--
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Pb importing data in v. 7.0.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pb importing data in v. 7.0.3