Found Solaris sqlca problem, I think...
Found Solaris sqlca problem, I think...
От:
<wespvp@SYNTEGRA.COM>
Дата:
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