Re: Can't create foreign keys

From: "Ben Trewern" <ben_trewern(at)hotmail(dot)com>
To: pgadmin(at)pse-consulting(dot)de
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Can't create foreign keys
Date: 2004-08-23 13:00:51
Message-ID: BAY8-F27RacUtI9dm5U00029746@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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/

Browse pgadmin-support by date

  From Date Subject
Next Message Tepleski, Lawrence (EST) 2004-08-23 17:25:55 General Question re: PGAdmin III
Previous Message Andreas Pflug 2004-08-23 10:23:47 Re: Can't create foreign keys