Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C259D4757DC for ; Sun, 4 Aug 2002 01:31:33 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 3E97747549E for ; Sun, 4 Aug 2002 01:31:33 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g745UcVk007640; Sun, 4 Aug 2002 01:30:38 -0400 (EDT) To: "Christopher Kings-Lynne" Cc: pgsql-sql@postgresql.org Subject: Re: Bug with dump/restore when using UNION and ORDER BY in views In-reply-to: <00a801c23b77$24bd2dc0$0200a8c0@SOL> References: <036501c23b32$5c5149f0$6b97f181@speed> <6562.1028430401@sss.pgh.pa.us> <00a801c23b77$24bd2dc0$0200a8c0@SOL> Comments: In-reply-to "Christopher Kings-Lynne" message dated "Sun, 04 Aug 2002 13:24:00 +0800" Date: Sun, 04 Aug 2002 01:30:37 -0400 Message-ID: <7639.1028439037@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/75 X-Sequence-Number: 8921 "Christopher Kings-Lynne" writes: >> Yeah. This is fixed in current sources, and I back-patched it into >> the REL7_2 branch, but current plans don't seem to include a 7.2.2 >> release --- we'll be going straight to 7.3 beta instead. > Is it worth doing a 7.2.2 patch that will dump people's foreign keys as > ALTER TABLE/ADD FOREIGN KEY instead of a bunch of CREATE CONSTRAINT > TRIGGERs, so that they actually become constraints in 7.3? I don't think it's any easier to do that as a backpatch than as new functionality in 7.3 pg_dump. As far as the general issue of a 7.2.2 release goes, I'm personally in favor of one --- there are several important bugfixes in the 7.2 branch right now --- but I don't do the gruntwork for patch releases, so I can't complain too much. > Also Tom - did you check if you can CREATE CONSTRAINT TRIGGER on a dropped > column - I think I neglected to look at that in the patch I submitted > originally. I'm pretty sure that won't get past the ATTNAME cache patches, but try it... regards, tom lane