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 1moqbV-0004V3-FU for pgsql-general@arkaria.postgresql.org; Sun, 21 Nov 2021 17:26:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1moqbS-0003RM-KG for pgsql-general@arkaria.postgresql.org; Sun, 21 Nov 2021 17:26:10 +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 1moqbQ-0003RC-Vp for pgsql-general@lists.postgresql.org; Sun, 21 Nov 2021 17:26:10 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moqbI-0003xM-4a for pgsql-general@lists.postgresql.org; Sun, 21 Nov 2021 17:26:07 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5D9C15C00AD; Sun, 21 Nov 2021 12:25:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 21 Nov 2021 12:25:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=3 TyXhN5s2yvAMceddZZ0qV0QALhTIdRGUaM3ak4V/q0=; b=Jrk187K0lqgBBuZ/4 Csp7eTtFksShmqxhmwyEQCi5JW92s16ZsE56OSQqR/846JQcfHph/jidcpkS71Mf uRlmuf//oy4DK7rcM2ytZ7Fw4S6rjr2Khnqu/92PM6RijSWrRHfWteeeGLluHnmF gc6HKMmrqDMgsp8VC0zSnCS4Swy53u1GR6qWpHC+KOlpPxb3DBsVmE5JrQwOXH4Y 0CYDB7cemVZNSGh+0wPbJYG+7e6DuMqoREq3/LuFv7F+tmeQWc6r6PXUECcWBQ9b chRNbeRyjG/YTcXgvyEeOvnD/6fiFmTHvqDED+9QTGFYDZkyj9n8nmfU48Z/SW+G rpiEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3TyXhN5s2yvAMceddZZ0qV0QALhTIdRGUaM3ak4V/ q0=; b=IOwEsP9VJnfDNrgShZFFZWWBc37I3xTNv+3mPO3prLeDCWdWbRTrHll5S jo9XQTo3BJEQ9TphENKjp+rQAeBA2wlb52JQ6woYOtXPY9G3+iNXpqFUGtRPEkmJ wNEhdfjVrdr1sena4+WrlKjddh1dINF8vJmsU/6PfU3j+WazS5f1wrUIpeqoyjSM 4kmn70HUpnkWzKPdmbUmp/W1+Hc7rtiZErASjWGIqWFI0lj9C9dokrw5UI3lVyj+ JNQb3AS/fr1rbfIUhUpzDTfsdWaESVzWQkFvbTWVztIfW9GV9XwaL/lu3T6Zvitk fH5+/lSkP0So6cu49rcUMmUNY9BTg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrgedvgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepudfgueelge evfffhgeeljeehhfettdegieelgefgheefffefveegjedtueetffdtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Nov 2021 12:25:55 -0500 (EST) Message-ID: <15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com> Date: Sun, 21 Nov 2021 09:25:54 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: pg_dump insert column GENERATED Content-Language: en-US To: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= Cc: pgsql-general References: <2ea33714-149f-f614-4cdb-012f252d57c0@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/21/21 07:23, Дмитрий Иванов wrote: > Yes and yes. > I don't get regular results in my experiments. I filled in some of the > tables this morning, but now I can't do it again. > > INSERT INTO bpd.plan_calendar (create in version 12) > > OK > I can't do it again. You are going need to provide more information about the above: 1) Define regular results. 2) The query used. 3) The outcome vs what you expected. > Are the below from the bpd.sql file? > Yes > Why does pg_dump insert data into the calculated columns? It shouldn't that is the point of this discussion, why it is happening in your case? So far we have not been able to replicate this behavior on our end, hence the many questions as to your set up. > I entered the data manually via export/import, excluding the problematic > field because its value will be calculated when inserted. > > -- Adrian Klaver adrian.klaver@aklaver.com