Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 56C1B9FB364 for ; Tue, 22 May 2007 10:47:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 10367-06 for ; Tue, 22 May 2007 10:46:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 2A9ED9FB314 for ; Tue, 22 May 2007 10:47:00 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 67BE33090A; Tue, 22 May 2007 15:46:57 +0200 (MET DST) From: "Sabin Coanda" X-Newsgroups: pgsql.sql Subject: Re: system table storing sequence attributes Date: Tue, 22 May 2007 16:47:03 +0300 Organization: Hub.Org Networking Services Lines: 11 Message-ID: References: <20070522132243.GI32759@a-kretschmer.de> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/157 X-Sequence-Number: 28437 ""A. Kretschmer"" wrote in message news:20070522132243.GI32759@a-kretschmer.de... ... > > Try 'select last_value from "tbFoo_ID_seq";' instead. > It works. Thanks a lot ! Sabin