pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
Date: Tue, 9 Aug 2005 12:34:43 -0600
Message-ID: <20050809183443.GA25232@winnie.fuhr.org> (raw)
In-Reply-To: <1d219a6f05080910277cbf10b2@mail.gmail.com>
References: <1d219a6f05080910277cbf10b2@mail.gmail.com>

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



view thread (12+ messages)  latest in thread

Message-ID: <20050809183443.GA25232@winnie.fuhr.org>
Permalink:  ../20050809183443.GA25232@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050809183443.GA25232@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, revoohc@gmail.com
  Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
  In-Reply-To: <20050809183443.GA25232@winnie.fuhr.org>
  References: <1d219a6f05080910277cbf10b2@mail.gmail.com> <20050809183443.GA25232@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox