On Wed, 2003-10-15 at 09:37, Patrick Giagnocavo +1.717.201.3366 wrote:
> I think that (depending on PG version) adding a primary key will
> create a unique index on that field.  A primary key has to be unique,
> so creating a unique index enforces that requirement.

It is, when you make a column a primary key, all you are really doing is
having a unique index created and the column set to not null.  This is
the way it works as far back as I can remember in postgresql.

Reply via email to