Re: Can't create foreign keys
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
Re: Can't create foreign keys
Andreas,
1. The table does have a PK.
2. It used to work in pgAdmin III 1.0.2
3. Could it be that one field is int4 and the other is declared as a serial
field? - Just a thought.
Ben
From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Ben Trewern <ben_trewern(at)hotmail(dot)com>
CC: pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] Can't create foreign keys
Date: Mon, 23 Aug 2004 10:23:47 +0000
Ben Trewern wrote:
I'm testing pgAdmin III Aug 15 snapshot and have found that you can't add
foreign keys.
You go to your table of choice then:
Properties -> Constraints -> Add -> Pick table in References drop down ->
Pick a field in Local column -> No fields show up in Referencing!
Then the table has no PK and is unsuitable as a referenced table.
Regards,
Andreas
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
Home |
Main Index |
Thread Index