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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to