Re: Importing Large Amounts of Data

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Denis Perchine" <dyp(at)perchine(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Importing Large Amounts of Data
Date: 2002-04-15 09:15:31
Message-ID: GNELIHDDFBOCMGBFGEFOIECECCAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mario Weilguni 2002-04-15 09:24:40 Re: Inefficient handling of LO-restore + Patch
Previous Message Denis Perchine 2002-04-15 08:59:15 Re: Importing Large Amounts of Data