Re: Sequence question

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Sequence question
Date: 2004-10-20 18:29:51
Message-ID: 20041020182951.GE8721@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 20, 2004 at 01:52:59PM -0400, Eric E wrote:
> One thought I had, and I'd love to hear what people think of this, is to
> build a table of storage location numbers that are available for use.
> That way the search for new numbers could be pushed off until some
> convenient moment well after the user requests them.

That very application is how I heard the idea for the "second method"
I sent in another email. In the case I was thinking of, someone used
it for room allocation. It worked pretty well, as long as you can
tolerate occasional periods where you _do_ have gaps.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.
--Brad Holland

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh Close 2004-10-20 18:34:13 Re: how much ram do i give postgres?
Previous Message Eric E 2004-10-20 17:52:59 Re: Sequence question