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 1jgtBS-0006EJ-QS for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2020 16:57: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 1jgtBR-0003n4-Cn for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2020 16:57:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgtBR-0003mp-6U for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2020 16:57:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgtBP-0001xn-4m for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2020 16:57:36 +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 054GvUhF1251599; Thu, 4 Jun 2020 12:57:31 -0400 From: Tom Lane To: Pavel Biryukov <79166341370@yandex.ru> cc: pgsql-bugs@lists.postgresql.org, Andres Freund Subject: Re: posgres 12 bug (partitioned table) In-reply-to: <141051591267657@mail.yandex.ru> References: <141051591267657@mail.yandex.ru> Comments: In-reply-to Pavel Biryukov <79166341370@yandex.ru> message dated "Thu, 04 Jun 2020 13:50:07 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1251597.1591289850.1@sss.pgh.pa.us> Date: Thu, 04 Jun 2020 12:57:30 -0400 Message-ID: <1251598.1591289850@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pavel Biryukov <79166341370@yandex.ru> writes: > Hello. I'm catch error "virtual tuple table slot does not have system > attributes" when inserting row into partitioned table with RETURNING > xmin Reproduced here. The example works in v11, and in v10 if you remove the unnecessary-to-the-example primary key, so it seems like a clear regression. I didn't dig for the cause but I suppose it's related to Andres' slot-related changes. regards, tom lane