Re: Re: 4 billion record limit?
От | Keith G. Murphy |
---|---|
Тема | Re: Re: 4 billion record limit? |
Дата | |
Msg-id | 3981B94A.E0524AA0@mindspring.com обсуждение исходный текст |
Ответ на | Re: Re: 4 billion record limit? ("Martin A. Marques" <martin@math.unl.edu.ar>) |
Ответы |
Re: Re: 4 billion record limit?
|
Список | pgsql-general |
Mitch Vincent wrote: > > There is something else that many aren't considering. In every application > I've ever written to use any database I use ID numbers of my own making, > always they're integer. 4 billion is the limit on any integer field, not > just the OID so there are limitations everyone should realize when using any > integer for any kind of record identification purposes.. > That's an excellent point, especially considering that *sequences* use an integer to hold their max_value, which is by default 2,147,483,647. You cannot go larger than that, either. I guess it's constrained to be positive. So OIDs give you more potential unique values than sequences, far as I can tell.
В списке pgsql-general по дате отправления: