Re: simple trigger question ... - Mailing list pgsql-sql

From Tom Lane
Subject Re: simple trigger question ...
Date
Msg-id 25296.1049341477@sss.pgh.pa.us
Whole thread Raw
In response to simple trigger question ...  ("Marc G. Fournier" <scrappy@hub.org>)
Responses Re: simple trigger question ...  ("Marc G. Fournier" <scrappy@hub.org>)
List pgsql-sql
"Marc G. Fournier" <scrappy@hub.org> writes:
> I want to create a trigger on a table that for every insert, in performs a
> nextval on a sequence ...

Er ... you just want to bump the sequence and throw away the actual
value?  You don't want to store the value somewhere?
        regards, tom lane



pgsql-sql by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: simple trigger question ...
Next
From: "Marc G. Fournier"
Date:
Subject: Re: simple trigger question ...