Found Solaris sqlca problem, I think...

From: <wespvp(at)SYNTEGRA(dot)COM>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Found Solaris sqlca problem, I think...
Date: 2004-03-24 23:01:59
Message-ID: BC876F87.BC6C%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I added a bunch of print statements in ecpglib/* and it appeared that
ECPGraise is being called, but is writing to the wrong memory location.
Then I noticed compile warnings that "-pthread" is an invalid parameter. It
appears configure is improperly writing config.status. In config.status I
see:

s,@THREAD_LIBS@,-pthread,;t t

I changed that to

s,@THREAD_LIBS@,-lpthread,;t t

and rebuilt ecpglib/*. The problem appears to have gone away. I now get
the error code set correctly. I'll have to do a full rebuild on Postgres
tonight (on a rather slow system) and then do more extensive testing.

Wes

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-03-25 09:19:38 Re: BUG #1114: REVOKE done by non-privileged user claims success
Previous Message Tom Lane 2004-03-24 16:33:48 Re: BUG #1113: Default template databases grant CREATE to PUBLIC