Re: Skipping numbers in a sequence.

From: GH <grasshacker(at)over-yonder(dot)net>
To:
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Skipping numbers in a sequence.
Date: 2000-11-24 10:41:02
Message-ID: 20001124044102.A34282@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

>
> Er, to answer my own question, yes.
> I seem to have discovered that the maximum maxvalue for a sequence is
> 9,999,999,999 (i.e. 10 digits) -- which leads one to believe that 10 is
> the max num of digits for an integer-type column.
[Must...stop...coding...while...asleep...and....braindead.]

The max for maxvalue is the max(integer) which I believe is 2147483647.

gh

>
> gh
>
> >
> > > I was thinking about something like that.
> > > This table is used in such a way that each row corresponds to one item
> > > in an order. So, I suppose I need to guesstimate the likely-hood that
> > > a company would sell (or have-shopped) n items.
> > >
> > > I just have that icky feeling that some day the sequence will roll over
> > > and hell with come after my ass. ;-))
> > >
> >
> > Thanks.
> >
> > gh
> >
> > >
> > >
> > > >
> > > > Cheers,
> > > > Andrew.
> > > > --
> > > > _____________________________________________________________________
> > > > Andrew McMillan, e-mail: Andrew(at)cat-it(dot)co(dot)nz
> > > > Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington
> > > > Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Boyd 2000-11-24 10:50:31 Re: [NOVICE] Skipping numbers in a sequence.
Previous Message GH 2000-11-24 10:25:05 Re: Skipping numbers in a sequence.

Browse pgsql-novice by date

  From Date Subject
Next Message Robert Boyd 2000-11-24 10:50:31 Re: [NOVICE] Skipping numbers in a sequence.
Previous Message GH 2000-11-24 10:25:05 Re: Skipping numbers in a sequence.