Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id EF5A99FC3F2 for ; Thu, 18 Oct 2007 17:13:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 71237-03-8 for ; Thu, 18 Oct 2007 17:13:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 974A99FC503 for ; Thu, 18 Oct 2007 17:13:04 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO [192.168.2.3]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 13594471; Thu, 18 Oct 2007 13:17:32 -0700 From: Josh Berkus Organization: PostgreSQL @ Sun To: Kris Jurka Subject: Re: Fw: postgresql experts please help Date: Thu, 18 Oct 2007 13:14:24 -0700 User-Agent: KMail/1.8.2 Cc: pgsql-jdbc@postgresql.org, Andrei Ilitchev , Marina Vatkina References: <001101c81189$2f3f52d0$4c349c0a@ca.oracle.com> <200710181257.37449.josh@agliodbs.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710181314.25615.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/107 X-Sequence-Number: 17679 Kris, > SELECT currval(pg_get_serial_sequence('mytab','mycol')); You mean lastval(). -- Josh Berkus PostgreSQL @ Sun San Francisco