Обсуждение: OID

Поиск
Список
Период
Сортировка

OID

От
"Vladimir V. Zolotych"
Дата:
  Hello all,
Forgive me silly question (two of them):
1) Could OID = 0?
2) What happens when OID reaches its upper bound (unsigned int)?
  Thanks
-- 
Vladimir Zolotych                         gsmith@eurocom.od.ua
 

Re: OID

От
Bruce Momjian
Дата:
[Charset koi8-r unsupported, filtering to ASCII...]
>   Hello all,
>
> Forgive me silly question (two of them):
>
> 1) Could OID = 0?

No, zero is an invalid id.

>
> 2) What happens when OID reaches its upper bound (unsigned int)?

It will take decades, we think.  Call us when it happens.  :-)

Seriously, it is unlikely to happen, so we are not currently concerned
about it.  I will add this to the FAQ.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026