From: Dragan Matić <mlists@panforma.co.yu>
To: pgsql-admin@postgresql.org
Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
Date: Wed, 10 Aug 2005 12:22:45 +0200
Message-ID: <42F9D575.5010103@panforma.co.yu> (raw)
In-Reply-To: <1d219a6f050809120320cb1acb@mail.gmail.com>
References: <1d219a6f05080910277cbf10b2@mail.gmail.com>
<20050809183443.GA25232@winnie.fuhr.org>
<1d219a6f050809120320cb1acb@mail.gmail.com>
Chris Hoover wrote:
>Sorry, I should have given some setup details.
>
>
>When this query is run against either version of PG, it does not
>return any rows (obviously due to the issue with hdr_create_dt). I
>actually walked through the code using our cobol debugger to find this
>issue. When it checks the sqlca.sqlcode record returned by this query
>in 7.3.4, it has a 0. In 8.0.3, it has a 100.
>
>
>
We are also using Cobol (Micro Focus NetExpress) and we haven't noticed
any changes when moving from version 7.x to version 8.
Another question is whether sqlcode was returning good result until now?
As far as I know (and it works that way with us) sqlcode _should_ have a
value of 100 when query returns no rows. Value of 0 indicates there were
no errors, and value of 100 means 'no rows found'.
With Regards
Dragan Matic
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: mlists@panforma.co.yu
Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
In-Reply-To: <42F9D575.5010103@panforma.co.yu>
References: <1d219a6f05080910277cbf10b2@mail.gmail.com> <20050809183443.GA25232@winnie.fuhr.org> <1d219a6f050809120320cb1acb@mail.gmail.com> <42F9D575.5010103@panforma.co.yu>
* 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