Problem with pgtcl on HP

From: Michael Brusser <michael(at)synchronicity(dot)com>
To: Pgsql-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Problem with pgtcl on HP
Date: 2004-01-30 00:39:01
Message-ID: DEEIJKLFNJGBEMBLBAHCMEBFEDAA.michael@synchronicity.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Just want to share in case you want to make a change
in the code, or perhaps tell us that we didn't do the right thing.

At some point we needed to add -DTCL_THREADS and -D_REENTRANT
to the makefiles and then we ran into a problem with pgtcl library.

This seems to be HP specific (HP-11) and happened on 7.3.2 and 7.3.4
Depening on the environment attempt to either load or unload
this library results in a core dump (signal 11)
We tracked problem to this line in pgtcl.c:
putenv ("PGCLIENTENCODING=UNICODE");
Changing this to
Tcl_PutEnv ("PGCLIENTENCODING=UNICODE");
seems to be a good fix, so far we are not seeing any problems.

Mike.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-01-30 05:22:34 Re: Stupid question on Read Committed Isolation Level
Previous Message Marc G. Fournier 2004-01-29 19:56:28 Re: postgresql.org reverse lookup fail