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

From: Wes Palmer <wespvp(at)syntegra(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Solaris ecpg program doesn't work - pulling my hair
Date: 2004-03-24 02:39:42
Message-ID: BC86510E.7751%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2004-03-24 03:03:03 subversion vs cvs (Was: Re: linked list rewrite)
Previous Message Bruce Momjian 2004-03-24 02:28:59 Re: linked list rewrite