Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E872E475820 for ; Tue, 6 Aug 2002 16:36:41 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 622F7474E49 for ; Tue, 6 Aug 2002 16:36:41 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1602568; Tue, 06 Aug 2002 13:36:41 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Tom Lane Subject: Re: problem fetching currval of sequence Date: Tue, 6 Aug 2002 13:37:48 -0700 X-Mailer: KMail [version 1.4] Cc: Charles Hauser , pgsql-sql@postgresql.org References: <200208061135.20799.josh@agliodbs.com> <2971.1028665125@sss.pgh.pa.us> In-Reply-To: <2971.1028665125@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208061337.48357.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/116 X-Sequence-Number: 8962 Tom, > Are you sure you were not thinking of "select last_value from seq"? > That's about the closest approximation I can think of to a > non-transaction-safe version of currval(). Well, you are the authority. And I'm not willing to regress my database= =20 install just to figure it out. Maybe I am thinking of "Select last_value". --=20 -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco