Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0IIoe087303 for ; Thu, 18 Jan 2001 13:50:40 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id NAA04597; Thu, 18 Jan 2001 13:50:35 -0500 (EST) From: Bruce Momjian Message-Id: <200101181850.NAA04597@candle.pha.pa.us> Subject: Re: Selecting Current value from a sequence In-Reply-To: <3A673052.F75F4112@agliodbs.com> "from Josh Berkus at Jan 18, 2001 10:05:06 am" To: josh@agliodbs.com Date: Thu, 18 Jan 2001 13:50:35 -0500 (EST) CC: sqllist X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200101/219 X-Sequence-Number: 884 > Najm > > CURRVAL('sequence_name') > > For this and other sequence and serial functions, please see the online > version of Bruce's book. > > BTW, O'Reilly's "SQL in at Nutshell" also catalogs all PGSQL functions > from ver. 6.5. It does, or only the standard SQL functions? Do they have PostgreSQL-specific stuff. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026