X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 885C0D1B8CF for ; Fri, 29 Aug 2003 16:52:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 37384-10 for ; Fri, 29 Aug 2003 13:52:42 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id CE88ED1B8B7 for ; Fri, 29 Aug 2003 13:52:41 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h7TGqZem099002 for ; Fri, 29 Aug 2003 16:52:40 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h7TGR83k090563 for pgsql-admin@postgresql.org; Fri, 29 Aug 2003 16:27:08 GMT From: Pierre Couderc X-Newsgroups: comp.databases.postgresql.admin Subject: How to read a sequence without incrementing it? Date: Fri, 29 Aug 2003 18:27:09 +0200 Organization: Hub.Org Networking Services Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, fr To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/354 X-Sequence-Number: 10074 I would like to read the current value of a sequence, or a value not too far of the current value (for example, the value it was a few seconds or minutes ago). Is it possible (without any nexrval that should increment it)? Thank you all Pierre Couderc