Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dR3az-0006IH-MA for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Jun 2017 21:36:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dR3az-00008m-6G for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Jun 2017 21:36:57 +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 1dR3ay-00008K-FT for pgsql-bugs@postgresql.org; Fri, 30 Jun 2017 21:36:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dR3aw-0000WE-3h for pgsql-bugs@postgresql.org; Fri, 30 Jun 2017 21:36:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v5ULaobv020220; Fri, 30 Jun 2017 17:36:50 -0400 From: Tom Lane To: Thomas Kellerer cc: pgsql-bugs@postgresql.org, Peter Eisentraut Subject: Re: Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS In-reply-to: References: <20170626192252.17679.77403@wrigleys.postgresql.org> <92d274cb-ebc2-aac3-0d0d-390c5585a547@2ndquadrant.com> Comments: In-reply-to Thomas Kellerer message dated "Fri, 30 Jun 2017 23:07:27 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20218.1498858610.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 30 Jun 2017 17:36:50 -0400 Message-ID: <20219.1498858610@sss.pgh.pa.us> 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 Thomas Kellerer writes: > Peter Eisentraut schrieb am 30.06.2017 um 23:03: >> This is working as expected. What is the problem? > I'd say the problem is, that the id column is NOT updated in that stateme= nt, only the name. Yeah. Looks to me like the code that was added to rewriteTargetListIU for this did not quite understand the meaning of the "apply_default" flag. regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs