Re: Primary Keys

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Ray Hunter <rhunter(at)venticon(dot)com>
Cc: PGSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Primary Keys
Date: 2002-08-22 06:39:20
Message-ID: 1029998361.19784.1745.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2002-08-22 at 01:43, Ray Hunter wrote:
> How are primary keys searched on...are they similar to how indexes work?

Yes. A unique index is automatically created when a primary key is
declared.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For yourselves know perfectly that the day of the Lord
so cometh as a thief in the night. For when they shall
say, Peace and safety; then sudden destruction cometh
upon them, as travail upon a woman with child; and
they shall not escape." I Thessalonians 5:2,3

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sean Chittenden 2002-08-22 07:30:59 Re: [GENERAL] Default values, inserts, and rules...
Previous Message Tommi Maekitalo 2002-08-22 06:21:10 Re: Mysql -> PgSQL