Re: [GENERAL] Trouble using TG_TABLE_NAME in BEFORE INSERT OR UPDATE trigger

2009-08-30 Thread Stephen Cuppett
ql'; Sorry for the noise. Stephen Cuppett steve at cuppett dot com On Sun, Aug 30, 2009 at 8:11 AM, Stephen Cuppett wrote: > Using PostgreSQL 8.4.0, I have the following generic trigger defined for > use by a collection of the same structured tables: > > CREATE OR REPLACE

[GENERAL] Trouble using TG_TABLE_NAME in BEFORE INSERT OR UPDATE trigger

2009-08-30 Thread Stephen Cuppett
any problem. I can imagine it has something to do with TG_TABLE_NAME being of type NAME, but I can't find anything in the manual about the difference or how to convert. Google wasn't much help either, but I figured this is fairly trivial for those on this list... Stephen Cuppett steve at cuppett dot com