Re: FAQ error - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: FAQ error
Date
Msg-id Pine.LNX.4.30.0110112033350.841-100000@peter.localdomain
Whole thread Raw
In response to FAQ error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: FAQ error
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_result -list
Next
From: Lee Kindness
Date:
Subject: Btree index ignored on SELECT until VACUUM ANALYZE