Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group