Re: PG 7.3.4 VS PG 8.0.3 Problem

From: Chris Hoover <revoohc(at)gmail(dot)com>
To: Dragan Matić <mlists(at)panforma(dot)co(dot)yu>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org
Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
Date: 2005-08-10 18:33:22
Message-ID: 1d219a6f05081011331dc0bb76@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-odbc

Ok, I think I have narrowed this down even further. I went and
installed a 7.3.4 db on our RHEL 4 server and is exibiting the same
behavior. I believe there is something with RHEL 2.1 and PostgreSQL
that causes the wrong sqlcode to be returned. That is the only thing
I can figure out.

I'm not sure where to go from here. Any ideas?

Chris

On 8/10/05, Dragan Matić <mlists(at)panforma(dot)co(dot)yu> wrote:
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Magnus Hagander 2005-08-10 19:23:31 Re: Trouble Getting Database Server Started
Previous Message Joshua D. Drake 2005-08-10 18:20:02 Re: SQL Server 2000 to PostgreSQL 8.0.3

Browse pgsql-odbc by date

  From Date Subject
Next Message Scot Loach 2005-08-11 02:55:51 Re: psqlODBC 08.00.0102 available for download
Previous Message Mario A. Soto Cordones 2005-08-10 17:42:52 Re: psqlodbclibpq 8_1_03 unicode problem