Re: [PATCHES] pltcl - "Cache lookup for attribute" error - version 2

2004-01-27 Thread Patrick Samson
--- Tom Lane wrote: > I wrote: > > Patrick Samson writes: > >> - Add the same filter in the build of TG_relatts. > >> This will prevent a tcl script which loops on > >> TG_relattrs to fail in trying to use a dropped > >> column. > > > This

[PATCHES] pltcl - "Cache lookup for attribute" error

2004-01-23 Thread Patrick Samson
I got the error message: ERROR: pltcl: Cache lookup for attribute 'pg.droppped.7' type 0 failed when a pltcl trigger handler is fired. Attribute names beginning with a dot are filtered just in one place, in pltcl_trigger_handler(). Attached is a patch to add the same filter in tw

[PATCHES] pltcl - "Cache lookup for attribute" error - version 2

2004-01-23 Thread Patrick Samson
After a deeper analysis, this post supersedes my previous one with the same subject. I got the error message: ERROR: pltcl: Cache lookup for attribute 'pg.droppped.7' type 0 failed when a pltcl trigger handler is fired. Attribute names beginning with a dot are filtered just in o

[PATCHES] pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

2004-01-18 Thread Patrick Samson
This proposed patch is related to: http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00024.php 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