On Sat, Oct 23, 2004 at 14:52:31 +0200,
Leen Besselink <leen(at)wirehub(dot)nl> wrote:
>
> id = nextval ("whatever_id_seq");
> insert into whatever (id, text) values (id, 'something');
>
> Something that works always... better, but you need to know the name of
> the sequence, bummer.
In 8.0 (currently in beta) there is a supplied function to return this
string reliably.