Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGYYk-00016k-87 for pgsql-committers@arkaria.postgresql.org; Thu, 19 Aug 2021 03:17:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mGYYi-0000TC-G1 for pgsql-committers@arkaria.postgresql.org; Thu, 19 Aug 2021 03:17:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGYYi-0000T4-AY for pgsql-committers@lists.postgresql.org; Thu, 19 Aug 2021 03:17:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGYYf-0004vV-PM for pgsql-committers@lists.postgresql.org; Thu, 19 Aug 2021 03:17:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 17J3HV811673918; Wed, 18 Aug 2021 23:17:31 -0400 From: Tom Lane To: Laurenz Albe cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Allow a multi-row INSERT to specify DEFAULTs for a generated col In-reply-to: <6906fe3025b8a8fc7a3c1f120b93726db53c7ed3.camel@cybertec.at> References: <6906fe3025b8a8fc7a3c1f120b93726db53c7ed3.camel@cybertec.at> Comments: In-reply-to Laurenz Albe message dated "Thu, 19 Aug 2021 05:14:11 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1673916.1629343051.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Aug 2021 23:17:31 -0400 Message-ID: <1673917.1629343051@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Laurenz Albe writes: > On Sun, 2020-11-22 at 20:48 +0000, Tom Lane wrote: >> Allow a multi-row INSERT to specify DEFAULTs for a generated column. > Shouldn't this be backpatched? > That seems like a clear bug to me; see this report on v11: > https://stackoverflow.com/q/68834080/6464308 https://www.postgresql.org/message-id/flat/CAEMmGb5BN_iRabOKO1_G6LkecxqLHr= wFQ%3DcuN1bJC4HmUsjjLw%40mail.gmail.com regards, tom lane