Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id BFDFE1337B9D for ; Fri, 29 Oct 2010 18:48:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 49973-10 for ; Fri, 29 Oct 2010 21:48:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.213.174]) by mail.postgresql.org (Postfix) with ESMTP id C39901337B88 for ; Fri, 29 Oct 2010 18:48:16 -0300 (ADT) Received: by yxk8 with SMTP id 8so1953525yxk.19 for ; Fri, 29 Oct 2010 14:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:in-reply-to :mime-version:content-transfer-encoding:content-type:message-id:cc :x-mailer:from:subject:date:to; bh=LT0C+ztCvyDOQjfYIK7/8869acoNRFbMPz8kelFtUeo=; b=XG5pI2hfBoVDxJ4Vl9zwo5yRyiQR5Q2HtCfgRRT3/0f1WQjNPc2CLY/tUngVu9zq28 FOeKaWDYcmC8b8/ARfZE0QssNnQSTK/P4DCF8YDBqrhFU4BGCrNaT0MlByKh6onnQwO3 zs64unuQkC2kvHhboEtvVE3PEqsHgXUF7g7IQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=J0+kVD2LKg9dBnJ2Z67n7XOQ7E/YTNEk3px1zJ2x9LfRKolE2J3sAiuNbPum0RFZvw h8mBDTyCctAp2bAEJKLvB8yPISqSsFj9YqqYFQbv7nEp5bb4FuY88dlV8CGORAIZGXWn fuxIrTeJzz9ILd7x3rOeFLGKCJQ2skHN7xTQk= Received: by 10.151.100.20 with SMTP id c20mr18622935ybm.227.1288388896438; Fri, 29 Oct 2010 14:48:16 -0700 (PDT) Received: from [10.66.17.13] ([166.137.10.169]) by mx.google.com with ESMTPS id v12sm2062270ybk.23.2010.10.29.14.48.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 Oct 2010 14:48:15 -0700 (PDT) References: <4480.1288374498@sss.pgh.pa.us> <4CCACE6E0200002500036F95@gw.wicourts.gov> <6240.1288379246@sss.pgh.pa.us> <4CCADE440200002500036FB2@gw.wicourts.gov> <4CCADE440200002500036FB2@gw.wicourts.gov> <8216.1288383162@sss.pgh.pa.us> <4CCAE6650200002500036FC3@gw.wicourts.gov> In-Reply-To: <4CCAE6650200002500036FC3@gw.wicourts.gov> Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <0E628919-9700-47B7-9436-41CEB09DC94F@gmail.com> Cc: Tom Lane , Jon Nelson , "" X-Mailer: iPhone Mail (8A293) From: Robert Haas Subject: Re: [PERFORM] typoed column name, but postgres didn't grump Date: Fri, 29 Oct 2010 17:48:59 -0400 To: Kevin Grittner X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/273 X-Sequence-Number: 28563 On Oct 29, 2010, at 4:21 PM, "Kevin Grittner" w= rote: > Tom Lane wrote: >> "Kevin Grittner" writes: >>> Robert Haas wrote: >>>>> I think if I had to pick a proposal, I'd say we should disable >>>>> #2 for the specific case of casting a composite type to >>>>> something else. >>=20 >>>> Well, then let's do that. It's not the exact fix I'd pick, but >>>> it's clearly better than nothing, so I'm willing to sign on to >>>> it as a compromise position. >>=20 >>> So, I'd rather scrap #2 entirely; but if that really would break >>> much working code, +1 for ignoring it when it would cast a >>> composite to something else. >>=20 >> Well, assuming for the sake of argument that we have consensus on >> fixing it like that, is this something we should just do in HEAD, >> or should we back-patch into 8.4 and 9.0? We'll be hearing about >> it nigh indefinitely if we don't, but on the other hand this isn't >> the kind of thing we like to change in released branches. >=20 > I can't see back-patching it -- it's a behavior change. >=20 > On the bright side, in five years after the release where it's > removed, it will be out of support. Problem reports caused by it > should be tapering off before that.... Yeah, I think we're going to have to live with it, at least for 8.4. One co= uld make an argument that 9.0 is new enough we could get away with a small b= ehavior change to avoid a large amount of user confusion. But that may be a= self-serving argument based on wanting to tamp down the bug reports rather t= han a wisely considered policy decision... so I'm not sure I quite buy it. ...Robert=