Re: Monitoring the sequence cycles

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Monitoring the sequence cycles
Date: 2009-08-19 16:35:05
Message-ID: 20090819163504.GU5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 19, 2009 at 03:53:29PM +0200, Marc Mamin wrote:
> I'm looking for a way to track the wrap arounds of cycle sequences.

How about disabling cycling and doing your own monitoring?

It seems a bit fiddly because sequence values are created "outside" of
any transaction and hence if you write something into a logging table
you're going to loose it if the transaction rolls back.

--
Sam http://samason.me.uk/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andre Lopes 2009-08-19 16:46:17 Wich the best way to control the logic of a web application?
Previous Message Scott Marlowe 2009-08-19 16:34:29 Re: question about /etc/init.d/postgresql in PGDG