Re: Solaris ecpg program doesn't work - pulling my hair out! - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Solaris ecpg program doesn't work - pulling my hair out!
Date
Msg-id 200406111734.i5BHYTY10608@candle.pha.pa.us
Whole thread Raw
In response to Re: Solaris ecpg program doesn't work - pulling my hair  (Wes Palmer <wespvp@syntegra.com>)
List pgsql-general
This will be fixed on Solaris in PostgreSQL release 7.4.3.

---------------------------------------------------------------------------

Wes Palmer wrote:
> On 3/23/04 8:28 PM, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
>
> > If I had to take a guess, there is something wrong with the ecpg program
> > and the error is masked on Linux, but is visible on Solaris.  I would
> > break the program down into small parts and test to see where there
> > error starts.
>
> I posted a follow up, including a small sample program.  The ecpg C code
> output is identical on both Linux and Solaris.  The problem exists all the
> time - the error code is *never* set (at least never that I've seen).  Sqlca
> is always the same regardless of success or failure of the operation.  The
> reason it appeared valid operations didn't work is I was searching for the
> wrong record, and since there's no error code set...
>
> Wes
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: "Scot L. Harris"
Date:
Subject: Installing 7.4.2
Next
From: "Eric Lu"
Date:
Subject: bytea functions