Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 2AC2D9F9365 for ; Thu, 18 Oct 2007 19:12:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 26409-01 for ; Thu, 18 Oct 2007 19:12:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc1-s35.bay0.hotmail.com (bay0-omc1-s35.bay0.hotmail.com [65.54.246.107]) by postgresql.org (Postfix) with ESMTP id 208B29FC3AA for ; Thu, 18 Oct 2007 19:12:26 -0300 (ADT) Received: from BAYC1-PASMTP12 ([65.54.191.185]) by bay0-omc1-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Oct 2007 15:12:11 -0700 X-Originating-IP: [71.221.114.243] X-Originating-Email: [michaelmschmidt@msn.com] Message-ID: Received: from [127.0.0.1] ([71.221.114.243]) by BAYC1-PASMTP12.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2668); Thu, 18 Oct 2007 15:13:18 -0700 Date: Thu, 18 Oct 2007 16:11:59 -0600 From: Michael Schmidt Reply-To: MichaelMSchmidt@msn.com User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: postgresql experts please help Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Oct 2007 22:13:18.0343 (UTC) FILETIME=[1635E970:01C811D4] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.187 tagged_above=0 required=5 tests=AWL=-0.617, BAYES_50=0.001, MSGID_FROM_MTA_HEADER=0.803 X-Spam-Level: X-Archive-Number: 200710/111 X-Sequence-Number: 17683 There is: SELECT currval(pg_get_serial_sequence('mytab','mycol')); Tried this as an isolated statement and it returned null, so it appears to also require that nextval be run before it can work. Michael Schmidt