Re: PG 7.3.4 VS PG 8.0.3 Problem

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: PG 7.3.4 VS PG 8.0.3 Problem
Дата
Msg-id 20050809183443.GA25232@winnie.fuhr.org
обсуждение исходный текст
Ответ на PG 7.3.4 VS PG 8.0.3 Problem  (Chris Hoover <revoohc@gmail.com>)
Ответы Re: PG 7.3.4 VS PG 8.0.3 Problem  (Chris Hoover <revoohc@gmail.com>)
Re: PG 7.3.4 VS PG 8.0.3 Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Tue, Aug 09, 2005 at 01:27:55PM -0400, Chris Hoover wrote:
> When I connect to a 7.3.4 database, the query returns 0 rows and a
> sqlca.sqlcode of 0
>
> However, when I connect to an 8.0.3 database, the query returns 0 rows
> and a sqlca.sqlcode of 100.

You don't mention it but it sounds like you're using ECPG.  Can you
post a simple but complete example that works differently in 7.3.4
and 8.0.3?

I just did some tests with 7.3.10 and 8.0.3 and both returned a
sqlca.sqlcode of 100 for a query that returned no rows.  Either
something changed between 7.3.4 and 7.3.10 or my test didn't
duplicate what you're doing.

--
Michael Fuhr

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: [GENERAL] postgres & server encodings
Следующее
От: Chris Hoover
Дата:
Сообщение: Re: PG 7.3.4 VS PG 8.0.3 Problem