Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution - Mailing list pgsql-patches

From Tom Lane
Subject Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution
Date
Msg-id 21118.1074492083@sss.pgh.pa.us
Whole thread Raw
In response to pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution  (Patrick Samson <p_samson@yahoo.com>)
List pgsql-patches
Patrick Samson <p_samson@yahoo.com> writes:
> Add a call to Tcl_FindExecutable() in
> pltcl.c - pltcl_init_all(),
> just before the call to Tcl_CreateInterp().

> It should be called with argv[0] as argument, but I
> don't know how to get this piece of information for
> pltcl.dll. Anyway, for Windows, it is unused
> (see win/tclWinFile.c - TclpFindExecutable()). Just a
> value != NULL is OK, so I used an empty string.

AFAICS this patch breaks all non-Windows platforms.  Sorry, that
won't do ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [patch] Postgres 7.4 - doc INSTALL/Cygwin
Next
From: Tom Lane
Date:
Subject: Re: [patch] 7.4 initdb - drop trailing slash from $PGDATA