FAQ error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: FAQ error
Date: 2001-10-10 21:12:06
Message-ID: 200110102112.f9ALC6c01748@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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? I don't see a nextval() function in Perl. Can
you call SQL server-side functions natively from Perl?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2001-10-10 21:31:53 Re: Temprary issue gripes(was:Re: cvs problem)
Previous Message Patrice Hédé 2001-10-10 18:39:10 iso-8859-15/16 to MULE