create remote table with sort of index...

From: "Al-Haddad, Mohammad J" <mjalha(at)essex(dot)ac(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: create remote table with sort of index...
Date: 2002-03-07 16:03:40
Message-ID: 003301c1c5f1$a6032a20$3217f59b@essex.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Dear All,

I have a database schema consist of 3 table, I located them in 3
different workstations (Ethernet LAN) each has psql 7.1. (trying to do
some parallel experiments):

the first table A, has a primary key say A.att1 (created and
allocated correctly, in the first workstation)
the second table B, has primary key say B.att2 (created and allocated
correctly, in the second workstation)
the third table C, has 2 Foreign key which are referenced to table
A.att1 and B.att2

I have tried to create table C with those attributes as primary but I
failed
create table C_ (c_att1 int4, c_att2 int4, c_att3 int4, c_att4 int4
CONSTRAINT PRIMARY KEY
(c_att1 , c_att2)); (because of the attribute duplication)

Dose any one has suggestion how to create C tale with sort of
indexing...?

Thak you

Kind Regards

Mohammed alhaddad
Department of Computer Science
University of Essex
Wivenhoe Park
Colchester CO4 3SQ
Room 3.402
+44 1206 87 2038

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-03-07 18:56:50 Re: wierd error
Previous Message Travis Hoyt 2002-03-07 15:27:36 wierd error