![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I get this message 'row number -1 is out of range 0..-1' sometimes. I say sometimes, because this happens unexpected when I submit absolutely correct query. Query succeeds, but it returns no resul although there should be. |
#2
| |||
| |||
|
|
On Tue, Jun 28, 2005 at 03:11:03PM +0300, Bobi Ivanov wrote: I get this message 'row number -1 is out of range 0..-1' sometimes. I say sometimes, because this happens unexpected when I submit absolutely correct query. Query succeeds, but it returns no resul although there should be. The above error happens if a program calls PQgetvalue(), PQgetlength(), or PQgetisnull() with a row number of -1 and if there were no rows in the result. Are you calling those libpq functions directly, or are you using an interface that sits on top of libpq? If the latter, what interface and version are you using? What version of PostgreSQL? What does your code look like? -- Michael Fuhr http://www.fuhr.org/~mfuhr/ __________ NOD32 1.1155 (20050626) Information __________ This message was checked by NOD32 antivirus system. http://www.nod32.com |
#3
| |||
| |||
|
|
Thank you for your quick responce! I don't call them directly. I use pgsql 8.0.3 under Fedora Core and I'm writing queries through pgAdminIII. |
#4
| |||
| |||
|
|
Thank you for your quick responce! I don't call them directly. I use pgsql 8.0.3 under Fedora Core and I'm writing queries through pgAdminIII. |
#5
| |||
| |||
|
|
"Bobi Ivanov" <bobi (AT) exsisto (DOT) com> writes: Thank you for your quick responce! I don't call them directly. I use pgsql 8.0.3 under Fedora Core and I'm writing queries through pgAdminIII. I would say then that this is a pgAdmin bug, and should be reported on the pgAdmin mailing lists --- I'm not sure that any of the pgAdmin hackers read this list. |
![]() |
| Thread Tools | |
| Display Modes | |
| |