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