"Marc G. Fournier" <[EMAIL PROTECTED]> writes: >> Er ... you just want to bump the sequence and throw away the actual >> value? You don't want to store the value somewhere?
> Correct Then you need something like (untested) CREATE FUNCTION mytrig() RETURNS TRIGGER AS ' begin perform nextval(''seq''); return new; end' LANGUAGE plpgsql; regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster