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 1lEcbe-0006PJ-Dw for pgsql-general@arkaria.postgresql.org; Tue, 23 Feb 2021 18:40:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lEcbd-0008Tv-7C for pgsql-general@arkaria.postgresql.org; Tue, 23 Feb 2021 18:40:21 +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 1lEcbc-0008To-VV for pgsql-general@lists.postgresql.org; Tue, 23 Feb 2021 18:40:20 +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 1lEcbW-0006jx-SD for pgsql-general@lists.postgresql.org; Tue, 23 Feb 2021 18:40:19 +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 11NIeBex3877971; Tue, 23 Feb 2021 13:40:11 -0500 From: Tom Lane To: Santosh Udupi cc: Adrian Klaver , pgsql-general@lists.postgresql.org Subject: Re: pg_restore - generated column - not populating In-reply-to: References: <9881df8c-f88e-977e-f222-adb04ba1ec80@aklaver.com> <89a62c70-4386-a3ef-f2ea-5e0f448cef11@aklaver.com> <0275a27c-2447-f8e5-489b-d7e419997299@aklaver.com> <3874667.1614101644@sss.pgh.pa.us> Comments: In-reply-to Santosh Udupi message dated "Tue, 23 Feb 2021 10:18:52 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3877969.1614105611.1@sss.pgh.pa.us> Date: Tue, 23 Feb 2021 13:40:11 -0500 Message-ID: <3877970.1614105611@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Santosh Udupi writes: > Both are different versions > The following works: > Version: pg_dump (pgAdmin Windows) version:13.1 > The following does not work: (Does not populate the generated column > values) > Version: pg_dump (PostgreSQL v13.2 on Ubuntu 20.04) version 13.2 Hmm ... well, that would be a regression, but you're going to have to show us how to reproduce it. I'm thinking there must be something odd about the way the table is declared. regards, tom lane