X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 630BDD1B4FD for ; Thu, 9 Oct 2003 02:44:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 04527-07 for ; Wed, 8 Oct 2003 23:43:42 -0300 (ADT) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by svr1.postgresql.org (Postfix) with SMTP id B8DDCD1B50F for ; Wed, 8 Oct 2003 23:43:37 -0300 (ADT) Received: from pcp01341166pcs.wilog301.pa.comcast.net (HELO europa.janwieck.net) (janwieck@68.80.245.191 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 9 Oct 2003 02:42:05 -0000 Received: from Yahoo.com (pcp01341166pcs.wilog301.pa.comcast.net [68.80.245.191]) (authenticated) by europa.janwieck.net (8.11.6/8.11.6) with ESMTP id h992fw327065; Wed, 8 Oct 2003 22:41:58 -0400 Message-ID: <3F84CADA.6050905@Yahoo.com> Date: Wed, 08 Oct 2003 22:41:30 -0400 From: Jan Wieck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Momjian Cc: Christopher Kings-Lynne , Stephan Szabo , Tom Lane , Peter Childs , PostgreSQL-development Subject: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta) References: <200310090210.h992A7X27225@candle.pha.pa.us> In-Reply-To: <200310090210.h992A7X27225@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/455 X-Sequence-Number: 45137 Bruce Momjian wrote: > Christopher Kings-Lynne wrote: >> >> >>Well, with the CREATE CONSTRAINT TRIGGER you _can_, but we already have >> >>a consensus that we don't _want_ that. Probably we should declare it >> >>deprecated and remove it in 7.5. And the option currently under >> >>discussion is exactly what will cause ALTER TABLE to let you, but IMHO >> >>that _should_ be restricted. >> >> How can we ever remove it - what about people upgrading from 7.0, 7.1, >> 7.2? Also, people upgrading from 7.3 who've never heard of adddepend... > > Not sure. We can remove documentation about it, at least. > If the idea is to support any 7.n -> 7.m (where n < m) upgrade directly, then it's IMHO time for 8.0 and clearly stating that 7.x -> 8.y only is supported as 7.x -> 7.3 -> 8.0 -> 8.y and "you're on your own with any other attempt". Don't get this wrong, I am a big friend of easy upgrades. But I am not a big friend of making improvements impossible by "backward compatibility forever". It was the "backward compatibility" to CP/M-80 (v2.2) that caused MS-DOS 7.0 to have a maximum commandline length of 127 characters ... that was taking compatibility too far. Well, M$ took it too far the other way from there and is compatible to nothing any more, not even to themself ... but at least they learned from that mistake. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #