From: Christian Marschalek <cm@chello.at>
To: 'Brian Z' <brian0@verizon.net>
Cc: [GENERAL] PostgreSQL <pgsql-general@postgresql.org>
Subject: RE: [ADMIN] Primary Keys
Date: Sat, 5 May 2001 15:15:15 +0200
Message-ID: <000101c0d565$7e19b100$0200a8c0@server> (raw)
In-Reply-To: <9ckl5q$2jp4$1@news.tht.net>
I'll quote Thomas F.O'Connell on this one as it has been discussed just
some days ago:
<quote>
first of all, i recommend checking out the syntax for the CREATE TABLE
command. it's available here:
http://postgresql.readysetnet.com/users-lounge/docs/7.1/postgres/sql-cre
atetable.html
for a quick example, though:
create table foo (
bar int4,
baz int4,
ola int4,
primary key( bar, baz )
);
this statement will make the columns bar and baz coincidentally the
primary key for the table foo.
-tfo
</quote>
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Brian Z
> Sent: Monday, April 30, 2001 11:21 PM
> To: pgsql-admin@postgresql.org.pgsql-general@postgresql.org
> Subject: [ADMIN] Primary Keys
>
>
> How can you create a Primary Key which contains multiple
> columns on for a table.
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an
> appropriate subscribe-nomail command to
> majordomo@postgresql.org so that your message can get through
> to the mailing list cleanly
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cm@chello.at, brian0@verizon.net, pgsql-general@postgresql.org
Subject: Re: [ADMIN] Primary Keys
In-Reply-To: <000101c0d565$7e19b100$0200a8c0@server>
References: <9ckl5q$2jp4$1@news.tht.net> <000101c0d565$7e19b100$0200a8c0@server>
* 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