| От | GH |
|---|---|
| Тема | Re: Adding a primary key |
| Дата | |
| Msg-id | 20010612183330.A12517@over-yonder.net обсуждение |
| Ответ на | Re: Adding a primary key ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>) |
| Список | pgsql-general |
On Tue, Jun 12, 2001 at 04:57:35PM -0400, some SMTP stream spewed forth: > You can only define the pri key on table creation. If you miss it there, you can only add a Unique index (which is prettymuch the same I think) > A column defined as a primary key is both not null and unique. A only unique index may be null. gh > Check http://www.postgresql.org/idocs/index.php?sql-altertable.html > > > cheers, > thalis > > On Tue, 12 Jun 2001, P. Dwayne Miller wrote: > > > How do I add a primary key to a table. The database was migrated using > > pgAdmin and no indexes or keys were migrated. I'd like to add a primary > > key constraint to a table. > >
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера