"Marc G. Fournier" <scrappy(at)hub(dot)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