How to read a sequence without incrementing it?

From: Pierre Couderc <pierre(at)couderc(dot)cc>
To: pgsql-admin(at)postgresql(dot)org
Subject: How to read a sequence without incrementing it?
Date: 2003-08-29 16:27:09
Message-ID: binuss$2oe2$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Barnett-Cormack 2003-08-29 20:15:00 Re: How to read a sequence without incrementing it?
Previous Message Raphael Bauduin 2003-08-29 15:26:02 Re: wrong password accepted