| От | Joe Conway |
|---|---|
| Тема | Re: OIDs |
| Дата | |
| Msg-id | 3CCC9830.6030801@joeconway.com обсуждение исходный текст |
| Ответ на | OIDs (Philip Reimer <phre@wi.uni-muenster.de>) |
| Список | pgsql-general |
Philip Reimer wrote: > Hi everyone. > I have a simple question which I couldn't find an answer to in any of the > PostgreSQL documentations. How long is an OID in bits? Or otherwise, is > there a limit to OIDs, how big is the biggest OID? > Thanks, > Philip > From ~/pgsql/src/include/postgres_ext.h: <snip> /* * Object ID is a fundamental type in Postgres. */ typedef unsigned int Oid; #define InvalidOid ((Oid) 0) #define OID_MAX UINT_MAX /* you will need to include <limits.h> to use the above #define */ </snip> So, it depends on the size of unsigned int on your platform. HTH, Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера