Lonni J Friedman <netllama(at)gmail(dot)com> writes:
> I tried to use the trigger example here, but it silently fails to work:
That example seems to be lacking a CREATE TRIGGER command, so
there's nothing telling the system to call the function.
It never worked as given --- read the whole thread.
The only really out-of-date part of it is that nowadays
"returns trigger" is preferred to "returns opaque".
But you need CREATE TRIGGER.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Lonni J Friedman||Date: 2009-12-03 23:22:52|
|Subject: Re: auto-increment integer field for each row|
|Previous:||From: Lonni J Friedman||Date: 2009-12-03 22:39:58|
|Subject: auto-increment integer field for each row|