Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 24FA1476603 for ; Wed, 2 Oct 2002 11:37:15 -0400 (EDT) Received: from ucs.co.za (ucs.co.za [196.23.43.2]) by postgresql.org (Postfix) with ESMTP id D51714765D4 for ; Wed, 2 Oct 2002 11:35:57 -0400 (EDT) Received: from mailgw1.ucs.co.za (IDENT:root@mailgw1.ucs.co.za [196.23.43.254]) by ucs.co.za (8.11.6/8.11.2) with ESMTP id g92FZW016513 for ; Wed, 2 Oct 2002 17:35:32 +0200 Received: from jhb.ucs.co.za (IDENT:root@jhb.ucs.co.za [172.31.1.73]) by mailgw1.ucs.co.za (8.9.3/8.7.3) with ESMTP id RAA09469 for ; Wed, 2 Oct 2002 17:35:31 +0200 Received: from ucs.co.za (tij.ucs.co.za [172.31.1.201]) by jhb.ucs.co.za (8.9.3/8.8.7) with ESMTP id RAA27078 for ; Wed, 2 Oct 2002 17:35:31 +0200 Message-ID: <3D9B146A.8070802@ucs.co.za> Date: Wed, 02 Oct 2002 17:44:42 +0200 From: Tim Jones Reply-To: tij@jhb.ucs.co.za User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Foreign Key Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/17 X-Sequence-Number: 5875 I want to query the dictionary to pull foreign key relationships in the format parent_table.column,child_table.column. I can see this info in pg_trigger but it is not very accessible. Any ideas?