Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwUJf-0003Z9-NT for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Sep 2017 14:24:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dwUJf-0004tG-AK for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Sep 2017 14:24:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwUJe-0004t3-SB for pgsql-bugs@postgresql.org; Mon, 25 Sep 2017 14:24:59 +0000 Received: from mail-yw0-x22a.google.com ([2607:f8b0:4002:c05::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dwUJb-0000vi-Kf for pgsql-bugs@postgresql.org; Mon, 25 Sep 2017 14:24:57 +0000 Received: by mail-yw0-x22a.google.com with SMTP id o143so4820732ywd.12 for ; Mon, 25 Sep 2017 07:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=drwPx+HnCsSfU2JS662GemDXgwtp4yMBtsnSSGFtyDI=; b=UE5/lj7WAXrL6Unb/Ohm917fj1C9FGkfqVdTYPFHpyQEPSWMKKSGbYh03zdW9Ve22Q Pz5OIokETQMHYhAMA9yQduw45V4ETBM5HLK4HUTLxVQ+qv6KgyiTr/WUSK155uwRJfpz MDjKmtb3HUihyR7nx9vzy3PCkfqLtanxv93Ua17Vdl6oMblxWUP4CZeI6RVSd5kOrXt1 atrv2m7Q68/sdD0rquc6Y3mytj2dMglsjuzPfRhc/Kah8YykwmvGkFMNTCna1mBffDJ7 izx70cJn17MnmHVUq8yKZ7CV3+uXb4x7xMaFamkFaA67jkXFCsFIMgTLAc1kcWznjzMS frdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=drwPx+HnCsSfU2JS662GemDXgwtp4yMBtsnSSGFtyDI=; b=qvSrfQJ1SjJrFnbAKQDbF0mOsD/K/4Mebi1Q+rB45xvGXB6Q2Cms0rqhN/VUBpLd4P P68u10+jkNqsj5vVDgbYmr1wOuD3YayKZHFZMbGVwZTce14DWkEC1b82bSMQgVKzokQK vXAlSYZTAM1jPeaFrXQux28cCWsN0wRdFP9MxYd/aWqtbJh+Th3mUzxbtkKfAIMX17k2 df/LObLWZSNyimZzFt2YOC5o5TGhHdOG0FwoYY7SFFACGk/0kLjYcL1oWQg8979QySKf xCmwaBlEOsD4nEcDCyBAWzLgc0bFCSYGs8YbhZTH5Fo9YRRsVpX7aJFpCSn5IO07RZtv 3hJA== X-Gm-Message-State: AHPjjUimEGYhuv0rfnLpF2igHpIETGsEmwn7HvuBgSVd6PIuwF7WjhRX eis+Pd48C+Ec4+fyGR9Rmbho X-Google-Smtp-Source: AOwi7QAn9Fgs4BKBxRxIwB0YISd2yfgYWRzaCvkEqEWW1YB7yYeEfMKjnJIsI20WS/+Ir85kNsukCA== X-Received: by 10.37.66.147 with SMTP id p141mr4636143yba.242.1506349494835; Mon, 25 Sep 2017 07:24:54 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id s187sm1696234yws.55.2017.09.25.07.24.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Sep 2017 07:24:54 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: BUG #14825: enum type: unsafe use? To: Tom Lane Cc: balazs@obiserver.hu, pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org References: <20170922185904.1448.16585@wrigleys.postgresql.org> <15165.1506116768@sss.pgh.pa.us> <3cece400-af56-7145-2e65-f044de1b0b68@2ndQuadrant.com> <28968.1506136792@sss.pgh.pa.us> <24380.1506179805@sss.pgh.pa.us> <16272.1506189656@sss.pgh.pa.us> <928f5974-151f-0273-0221-fac213e7624f@2ndQuadrant.com> <19137.1506196325@sss.pgh.pa.us> <4942e2c0-3302-f496-d4c1-a967f77d0143@2ndQuadrant.com> <25662.1506204381@sss.pgh.pa.us> <9479302a-09b8-4264-f9c4-514b65f18547@2ndQuadrant.com> <18127.1506285450@sss.pgh.pa.us> <2770f70a-5977-3fa1-1065-11b4cc69f07f@2ndQuadrant.com> <23438.1506294409@sss.pgh.pa.us> <25809.1506348877@sss.pgh.pa.us> Message-ID: Date: Mon, 25 Sep 2017 10:24:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <25809.1506348877@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 09/25/2017 10:14 AM, Tom Lane wrote: > Andrew Dunstan writes: >> On 09/24/2017 07:06 PM, Tom Lane wrote: >>> So I think we should just stop with the blacklist test for v10, >>> and then see if we still get complaints (and exactly what they're >>> about) so that we can judge how much more work the problem deserves. >>> It's still ahead of where we were in previous releases, and ahead of >>> where we'd be if we end up reverting the patch altogether. >> That's pretty much what I was saying. > Oh ... I did not think we were on the same page, because your patch > didn't include removal of the same-transaction heuristic. It'd be > sensible to do that as a separate patch, though, to make it easier > to put back if we decide we do want it. > > I understood you to say that the blacklist patch was all we needed to do for v10. That's my position, i.e. I think we can live with the heuristic test for now if the blacklist patch is applied. Maybe we need to document that the heuristic test can generate some false negatives when testing for a type that is created in the current transaction. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs