Re: PRIMARY KEY and UNIQUE

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Darren Ferguson <darren(at)crystalballinc(dot)com>, Erwin Ambrosch <ambre(at)ebutec(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PRIMARY KEY and UNIQUE
Date: 2002-02-15 12:00:33
Message-ID: 20020215120035.99600FC96@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Vie 15 Feb 2002 08:42, Martín Marqués wrote:
> On Jue 14 Feb 2002 12:29, Darren Ferguson wrote:
> > If it is a primary key then it will automatically be UNIQUE.
>
> Even more, it will create a "INDEX UNIQUE ...." over the primary key field.

Sorry, I confussed PRIMARY KEY with SERIAL data type.
Ignore that about the INDEX.

Saludos... ;-)

--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message P.J. "Josh" Rovero 2002-02-15 12:19:32 Re: How to properly build postgresql version 7.2 on Unix Platforms?
Previous Message Martín Marqués 2002-02-15 11:42:19 Re: PRIMARY KEY and UNIQUE