| От | Vadim Mikheev |
|---|---|
| Тема | Re: [HACKERS] DROPping tables with SERIALs |
| Дата | |
| Msg-id | 366273EE.C4007810@krs.ru обсуждение исходный текст |
| Ответ на | Re: [HACKERS] DROPping tables with SERIALs (Zeugswetter Andreas IZ5 <Andreas.Zeugswetter@telecom.at>) |
| Список | pgsql-hackers |
Zeugswetter Andreas IZ5 wrote: > > >>> Another question is whether a SERIAL field should automatically > be > >>> UNIQUE (ie, create a unique index on it to prevent mistakes in > manual > >>> insertion of values for the field). > > > >> Once again - I would like to see SERIAL compatible with > >> SERIAL/IDENTY in other RDBMSes. > > > >Yes, and? What do the other ones do? > > In Informix you need to create the unique index explicitly. I like this > because it keeps > things flexible. The unique constraint could be on a compount key. Agreed. Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера