Re: (trigger function) -> ERROR: NEW used in non-rule query

From: Dmitry Tkach <dmitry(at)openratings(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Terence Kearns <terencek(at)isd(dot)canberra(dot)edu(dot)au>, Richard Huxton <dev(at)archonet(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: (trigger function) -> ERROR: NEW used in non-rule query
Date: 2003-07-18 16:49:18
Message-ID: 3F18250E.7090001@openratings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Josh Berkus wrote:

>>Well I suppose I could try TCL. The problem is that there is little to
>>no documentation on postgres stored procedures in TCL and I've never
>>even seen the language before. None the less, I'll look into it. It's
>>almost worth it. If that fails, I may even try perl <shudders>.
>>
>>
>
>And what's wrong with Perl? Other than the inability to write triggers with
>it?
>
That's *exactly* "what's wrong" with it :-)
If I understand what he is talking about correctly, his whole problem is
that he is writing a trigger :-)

Dima

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Robert Treat 2003-07-18 17:55:00 Re: plpgsql strangeness with select into <variable>
Previous Message Josh Berkus 2003-07-18 16:38:25 Re: (trigger function) -> ERROR: NEW used in non-rule query