From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Chris Hoover <revoohc(at)gmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: PG 7.3.4 VS PG 8.0.3 Problem |
Date: | 2005-08-09 18:34:43 |
Message-ID: | 20050809183443.GA25232@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-odbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2005-08-09 18:38:43 | Re: [GENERAL] postgres & server encodings |
Previous Message | Tom Lane | 2005-08-09 17:31:03 | Re: [GENERAL] postgres & server encodings |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Hoover | 2005-08-09 19:03:03 | Re: PG 7.3.4 VS PG 8.0.3 Problem |
Previous Message | Mario A. Soto Cordones | 2005-08-09 18:25:03 | Re: postgresqlodbc ssl connections |