X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A592D52812 for ; Tue, 14 Jun 2005 10:37:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59028-07 for ; Tue, 14 Jun 2005 13:37:25 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 84E0252867 for ; Tue, 14 Jun 2005 10:37:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j5EDbMtW027839; Tue, 14 Jun 2005 09:37:22 -0400 (EDT) To: "M.D.G. Lange" Cc: pgsql-sql@postgresql.org Subject: Re: foreign key on pg_shadow In-reply-to: <42AEC0C1.7090305@dltmedia.nl> References: <42AEC0C1.7090305@dltmedia.nl> Comments: In-reply-to "M.D.G. Lange" message dated "Tue, 14 Jun 2005 13:34:25 +0200" Date: Tue, 14 Jun 2005 09:37:22 -0400 Message-ID: <27838.1118756242@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/164 X-Sequence-Number: 21765 "M.D.G. Lange" writes: > No matter what ON DELETE constraint I created, the system will not allow > me to create a foreign key, as pg_shadow is a system catalog. We do not support foreign keys (or indeed triggers of any kind) on system catalogs. I don't foresee that happening in the near future either, though I think there is something about it on the TODO list. regards, tom lane