Search Postgresql Archives

Pgadmin3 v1.14.2 foreign keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I searched the archives and didn't find the answer as to how to add
foreign keys to a table using pgadminIII v1.14.2.  I am very familiar with
relational databases and foreign keys, indices, etc., but I am a newbie to
postgresql. For instance, say I have two tables, "address" and
"addresstype", both within the same schema.  The column named "type" in
the "address" table is the foreign key to the "addresstype" table, the
primary key of which is named "addresstype_id".  I created those columns
and added the primary key constraints without any difficulty.  I tried
adding the foreign key constraint, by right-clicking the "constraints"
object for the "address" table in the object browser window and selecting
"add foreign key".  I cannot figure out the next steps.  Any help, please?
 Thank you.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux