| От | Michael Fuhr |
|---|---|
| Тема | Re: row number -1 is out of range 0..-1 |
| Дата | |
| Msg-id | 20050628125844.GA23489@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | row number -1 is out of range 0..-1 ("Bobi Ivanov" <bobi@exsisto.com>) |
| Список | pgsql-bugs |
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/
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера