Bruce Momjian writes:
> Our FAQ, item 4.16.2 has:
>
> $newSerialID = nextval('person_id_seq');
> INSERT INTO person (id, name) VALUES ($newSerialID, 'Blaise Pascal');
>
> Is this correct Perl?
No. I always thought it was pseudo code. I think it's fine.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter