Re: Postgresql "FIFO" Tables, How-To ?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql "FIFO" Tables, How-To ?
Date: 2003-07-16 21:19:37
Message-ID: bf4ffd$kju$1@main.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sean Chittenden schrieb:
> That doesn't help you limit the number of rows in the table though
> because what row is going to get "pushed out" of the table? The nifty
> thing about using a wrapping sequence is that the id's are sequential
> across transactions, which correctly maps to the progression of time,
> which obviates the need for relying on any kind of a date column for
> doing syslog message ordering.
>
But isn't that exactly the problem? Once the sequence wraps around how do I
know that id=1 is actually later then id=2 without a date column?

Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nolan 2003-07-16 21:27:30 Re: Anyone used pgHoster.com?
Previous Message Sean Chittenden 2003-07-16 21:16:46 Re: Postgresql "FIFO" Tables, How-To ?