Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Samson <p_samson(at)yahoo(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution
Date: 2004-01-19 06:01:23
Message-ID: 21118.1074492083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Patrick Samson <p_samson(at)yahoo(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-01-19 06:22:11 Re: [patch] 7.4 initdb - drop trailing slash from $PGDATA
Previous Message Peter Eisentraut 2004-01-18 21:55:38 Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution