Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIBxc-0004Dl-72 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 May 2018 11:48:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fIBxU-0007aT-Tr for pgsql-hackers@arkaria.postgresql.org; Mon, 14 May 2018 11:48:04 +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.89) (envelope-from ) id 1fIBxU-0007aJ-JI for pgsql-hackers@lists.postgresql.org; Mon, 14 May 2018 11:48:04 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fIBxN-0001m7-DR for pgsql-hackers@postgresql.org; Mon, 14 May 2018 11:48:03 +0000 Received: by mail-qt0-x242.google.com with SMTP id j42-v6so15580017qtj.12 for ; Mon, 14 May 2018 04:47:56 -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=xz+jadVtCzNc7LDgBHsiiF3AVmEkHpGfHjQF4kiDF1E=; b=qqyWKBfx8rwwY1SdffZmQl9po4sQd6Rvskacztg738AeRtHy8hFhL52Pu+ZltVSsz6 rmlTv2aHMiCOWQQe7z3kRiLUmburM1EH8MZKST+RunNIzLH3h0tyHCi+lcLYAYUHyaWG QgFKbkflmen2wDcLWJYrIENl5Dm0RoC5bNQ7hJ7chNuEhROOJ2yLRdVeH2z085xDaEvu sX/25FeBy+zgFhqMSfes5Yh3uHQH/mu8FVsHVefoMvGVDTU81WyP4TNtD/C6xow0vpEK ZxixyBtz9lCmkV54mVyRp1CwkMcp/O/O+/DoHb/WCG62HP6v9F5Y1s13WTj1KzDwgQVJ ql+Q== 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=xz+jadVtCzNc7LDgBHsiiF3AVmEkHpGfHjQF4kiDF1E=; b=PLB1u08dQlG8ORsOYqoToisr3S6ASO09bY7pcibKVJs1hY+K8dpqlJ27A3yHkaQHtn osJ6ak1+cI5tTvdhF+oOXa5e1el9lO6J5rpNm/2MIsODvV2gL1+h5uF5bS4fSgwaL2vR lKiu7Zeh+yVbNQMLlyn90iI7SgR/EIZmePeblOzo95iJNsgCY/sbTNXfi5rKRiVbIWA8 aDC+yRStZJpctdVw7UtkeZo2mXNCernSd5+7HyOqApkmdwdhR2nqGkpwpyfpJfGsEZrO SyOmwkrmzD9etFK/cxAMoBk2u5+R43w4h/7AiuKOeyZK/X+buvTff1INVwfBFBpo6Xm/ Glhw== X-Gm-Message-State: ALKqPwdZk/KJ8tq/hWLzGe/UeTqnTzMQx5qu+JoYYAotZ1EjP+lIN/Mm bCW4y67EMKa6W83wJa3xSQhQr7CKcjbxPaqIAAefU32nE8MPejXAtC+l8uKMdreMyMtun3NQG2s gm1S/TARhK8bUaTedEMmSp9ChPMa86x6RqiEsk32X3cV3C1so+nYCuHWjCAlade4C4tHZ/8Wfg3 jDIrSjyGYAf584 X-Google-Smtp-Source: AB8JxZqNAQHnx4rg7VYq461FOIVA2hxsmZpm6OO4sHfvATCcfBMCg6Qv5m6GKPyObt+2gUeU+nJUoQ== X-Received: by 2002:ac8:3181:: with SMTP id h1-v6mr8450179qte.250.1526298475760; Mon, 14 May 2018 04:47:55 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id 2-v6sm7073480qkg.70.2018.05.14.04.47.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 May 2018 04:47:54 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: Postgres 11 release notes To: Bruce Momjian , Peter Geoghegan Cc: Teodor Sigaev , PostgreSQL-development References: <20180511150852.GA18510@momjian.us> <20180511184406.GD18510@momjian.us> <20180511210652.GK18510@momjian.us> <20180513004708.GA15365@momjian.us> Message-ID: <6a28a9c2-d1aa-966c-e1f4-848750de2189@2ndQuadrant.com> Date: Mon, 14 May 2018 07:47:54 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180513004708.GA15365@momjian.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 05/12/2018 08:47 PM, Bruce Momjian wrote: > On Sat, May 12, 2018 at 01:22:55PM -0700, Peter Geoghegan wrote: >> On Fri, May 11, 2018 at 2:06 PM, Bruce Momjian wrote: >>> Done and URL updated. >> I have some feedback on "Allow NOT NULL to be added to columns without >> requiring a table rewrite". I suggest that this be phrased as "Avoid a >> table rewrite when ALTER TABLE ADD COLUMN sets a default value for a >> column". Referencing the fact that Postgres was previously able to do >> this with a NULL default doesn't seem to add anything. > Agreed, done: > > Allow ALTER TABLE to add a non-null default > column without a table rewrite (Andrew Dunstan, Serge Rielau) > I think "a column with a non-null default" would be a bit clearer than "a non-null default column". cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services