From: Perry Seleski <seleski@ronix.ptf.hro.nl>
To: pgsql-sql@postgresql.org
Subject: primary keys
Date: Mon, 18 May 1998 09:48:30 +0200
Message-ID: <355FE7CE.167E@ronix.ptf.hro.nl> (raw)
I would really like to know how I can define a primary key in postgres.
The database is for a search engine. The table looks like this:
CREATE TABLE Homepages (
URL varchar(80),
PageName varchar(80),
UserName varchar(40),
Keywords varchar(255)
);
And I'd like to define the attibute URL as the primary key but I've
got no clue on how to do that. Anyone?
Thanks in advance,
Perry Seleski
Rotterdam Art Institute
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: seleski@ronix.ptf.hro.nl
Subject: Re: primary keys
In-Reply-To: <355FE7CE.167E@ronix.ptf.hro.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox