Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 892669FA2DE for ; Tue, 22 May 2007 04:03:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 23326-07 for ; Tue, 22 May 2007 04:03:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id C0A079FA2D3 for ; Tue, 22 May 2007 04:03:25 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 87A6730909; Tue, 22 May 2007 09:03:24 +0200 (MET DST) From: "Sabin Coanda" X-Newsgroups: pgsql.sql Subject: system table storing sequence attributes Date: Tue, 22 May 2007 10:03:28 +0300 Organization: Hub.Org Networking Services Lines: 12 Message-ID: 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/150 X-Sequence-Number: 28430 Hi there, I'd like to read the global sequence attribute "currval", but not using currval function, because it is session dependent and requires a nextval function to be used before. Do you know where is stored this value in the system tables ? TIA, Sabin