Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxBnT-0006jL-Vi for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Sep 2017 12:50:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dxBnT-00005C-8n for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Sep 2017 12:50:39 +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 1dxBnS-0008W5-5W for pgsql-hackers@postgresql.org; Wed, 27 Sep 2017 12:50:38 +0000 Received: from mail-yw0-x229.google.com ([2607:f8b0:4002:c05::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dxBnK-000250-SR for pgsql-hackers@postgresql.org; Wed, 27 Sep 2017 12:50:36 +0000 Received: by mail-yw0-x229.google.com with SMTP id q80so9189721ywg.2 for ; Wed, 27 Sep 2017 05:50:30 -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=oW5zID8P9w/6RLqrVPP3nBbDndegphmguv8BKsHrphs=; b=1dsKVyvioYbp2B+HsIVOqqf3nXgRKgFzGCFPJFXE0gBD1HYxbV2AE5GWZScoRnD2Ml 2HlTcijBOH0rbObf8vLV+2/Y92znczC31IgQWkXkWHsbPepc03a+f6kQHco86z664UyE 1Bqax4oZ6WguhIf0HphlvvkeWP3vBf/L4gKI8j7VYO4X5O8otM7Xm7z/T3Yb1vj3gEki M3+yHBOkOVY/CmCdRZUCY4Ylkw8ZlNHDzhkF+akwgFVqTJDRpbWfzQildyvlRqlyEUwI RXtiePl+9TDTb0QGweRbHwKfPNQULn0W0u16JpC3X3VyYb2ua6iSOmcCxY+QL8Lie19Q 4eZQ== 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=oW5zID8P9w/6RLqrVPP3nBbDndegphmguv8BKsHrphs=; b=gslxph7M9ozYnDOZyrTG9AKd8a/5LXmASYDTtI9sq/3sEfu2CXEtR0lOYIoTEa7G8A wQ2EY4V9N24NC9JjNgubI5kTqJA3Ld+xdZqBYH+Wx5D1hjJPdaRCdLZ7wgbR9DFeTJ4Y u3+YmTpjvuC9x/uiPeEtNFIy5nWcYVasXZSr1jXhAr36+jN5JK1xZjR+2DTdsyBjcNSt ldVPiqf+bzWITOjb9m0q6T8UCpuuv4Zb1rdiX68bVzIWha5F78mojQjuWOORm9Jh7U7P f9o0yq16I9OcwN46+VefbFb/uoT5hjw1gapimApvXRWc+ay2r90VB81xfVmAaSxUHHc7 7ZmA== X-Gm-Message-State: AHPjjUhO8A94oiSqkWYAKeodrLXREYHQUAJePqe12ABQ2miP1/4R7eG5 z9+VL5QN4dd0mw2L+auR1BCaenVjmil8FFYwq0WzcMZ+2z63mi+5HYJrpxKzHlAEQR7W7cxbviL cgRCKH59JTvIAOarRhUnBPjUZWD/8bHfcS8V30M7vCsLA/3vOW27UKJ4dh1i8AgIRpWe9aim8Qb 1s49tqvlFZNceH X-Google-Smtp-Source: AOwi7QBE+IcfCYMQtIGYoTxaGQURGsvVQoENrvJ0hEa8DpL4ojY6Z4gY/DZoch51SLtfmKuFm36Tvg== X-Received: by 10.129.65.76 with SMTP id f12mr553465ywk.274.1506516629753; Wed, 27 Sep 2017 05:50:29 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id o126sm3021352ywb.8.2017.09.27.05.50.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 05:50:29 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes) To: Alvaro Herrera , Bruce Momjian , Tom Lane Cc: pgsql-hackers@postgresql.org References: <20170927100559.dmss5mnrlent4dxe@alvherre.pgsql> Message-ID: <2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com> Date: Wed, 27 Sep 2017 08:50:28 -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: <20170927100559.dmss5mnrlent4dxe@alvherre.pgsql> 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-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 09/27/2017 06:05 AM, Alvaro Herrera wrote: > Bruce Momjian wrote: >> doc: first draft of Postgres 10 release notes > I noticed that this item > > + > + > +Reduce locking required for adding values to enum types (Andrew Dunstan, > +Tom Lane) > + > + > + > +Previously it was impossible to run ALTER TYPE ... ADD > VALUE in a > +transaction block unless the enum type was created in the same block. > +Now, only references to uncommitted enum values from other transactions > +is prohibited. > + > > does not really explain this change very clearly. (The release note item > was slightly changed later, but not in the substance.) It says it's > about "locking", but it is certainly not about what we normally call > "locking" in Postgres. > > So, firstly I suggest it doesn't belong in the "Locking" section, but > rather it should be under "Utility Commands" instead. Second, I think > it should say "Reduce transactional requirements" rather than "reduce > locking required". > > I think there are further changes needed because of commits 175774d2932d > and 01c5de88ff2, but that's not what I'm on about here, though > discussion on that is welcome. > > Contrary opinions? > It looks like this is moot anyway, I think the consensus is to remove the feature and try again in release 11. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers