| От | Jorge Godoy |
|---|---|
| Тема | Re: IS it a good practice to use SERIAL as Primary Key? |
| Дата | |
| Msg-id | 871wnuw7j2.fsf@gmail.com обсуждение исходный текст |
| Ответ на | Re: IS it a good practice to use SERIAL as Primary Key? (Richard Broersma Jr <rabroersma@yahoo.com>) |
| Ответы |
Re: IS it a good practice to use SERIAL as Primary Key?
|
| Список | pgsql-general |
Richard Broersma Jr <rabroersma@yahoo.com> writes: > "" The type names serial and serial4 are equivalent: both create integer > columns. The type names bigserial and serial8 work just the same way, except > that they create a bigint column. bigserial should be used if you anticipate > the use of more than 231 identifiers over the lifetime of the table. "" > http://www.postgresql.org/docs/8.2/interactive/datatype-numeric.html#DATATYPE-SERIAL What would be those "231 identifiers"? -- Jorge Godoy <jgodoy@gmail.com>
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера