Re: Solaris ecpg program doesn't work - pulling my hair out!

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Wes Palmer <wespvp(at)syntegra(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Solaris ecpg program doesn't work - pulling my hair out!
Date: 2004-06-11 17:34:29
Message-ID: 200406111734.i5BHYTY10608@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eric Lu 2004-06-11 17:42:12 bytea functions
Previous Message Scot L. Harris 2004-06-11 17:20:00 Installing 7.4.2