Re: Importing Large Amounts of Data

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Importing Large Amounts of Data
Дата
Msg-id GNELIHDDFBOCMGBFGEFOIECECCAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Importing Large Amounts of Data  (Denis Perchine <dyp@perchine.com>)
Ответы Re: Importing Large Amounts of Data  (Denis Perchine <dyp@perchine.com>)
Список pgsql-hackers
> On Monday 15 April 2002 03:53, Christopher Kings-Lynne wrote:
> > BTW, instead of:
> >
> > CREATE UNIQUE INDEX bigone_pkey ON bigone (rec_no);
> >
> > do:
> >
> > ALTER TABLE bigone ADD PRIMARY KEY(rec_no);
>
> I am sorry, could you please elaborate more on the difference?

They have the same _effect_, it's just that the first sytnax does not mark
the index as the _primary_ index on the relation.

Chris



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Denis Perchine
Дата:
Сообщение: Re: Importing Large Amounts of Data
Следующее
От: Denis Perchine
Дата:
Сообщение: Re: Importing Large Amounts of Data