pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org
Subject: PG 7.3.4 VS PG 8.0.3 Problem
Date: Tue, 9 Aug 2005 13:27:55 -0400
Message-ID: <1d219a6f05080910277cbf10b2@mail.gmail.com> (raw)

I am having an issue with 7.3.4 vs 8.0.3.

I have done a simple conversion of one of my databases from 7.3.4 to
8.0.3.  I used the 8.0.3 pg_dump to dump the database and load via
psql 8.0.3.

However, I am having a problem.  I have a query that our application
generates that is returning different results back to our application.

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.

Why is the 8.0.3 database returning a different code?  Our application
is checking the code returned, and since it is getting a 100, it is
not performing as expected (as compared to our 7.3.4 production
system).

Anyway, the only thing that has changed in the environment is the
PostgreSQL db.  The Application and odbc drivers are all the same. 
Can someone please enlighten me as to what is going on?

Thanks,

Chris



view thread (12+ messages)  latest in thread

Message-ID: <1d219a6f05080910277cbf10b2@mail.gmail.com>
Permalink:  ../1d219a6f05080910277cbf10b2@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f05080910277cbf10b2@mail.gmail.com

 · 

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: revoohc@gmail.com
  Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem
  In-Reply-To: <1d219a6f05080910277cbf10b2@mail.gmail.com>
  References: <1d219a6f05080910277cbf10b2@mail.gmail.com>

* 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