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 1oEuxb-00086f-RA for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 15:53:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEuxZ-0003sa-Hh for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 15:53:01 +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 1oEuxX-0003sR-UE for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 15:53:01 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEuxR-0002Ya-P9 for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 15:52:59 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 23E573200902; Fri, 22 Jul 2022 11:52:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 22 Jul 2022 11:52:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1658505169; x= 1658591569; bh=yeS3I57a98LVKtw/9RlmViCkwSj5rZADeiLcvd5Yorg=; b=i cfUU4C5Q9IOyIwGqB2LTDTeARKWba8ei6z9hr4opgkPhI379toDlvJFpOiF76L7o iKTKbBOWGaECw7k/kwLJAbFU75HC4Py/ZqAJTyaGgrT4EWIGfcXwa9IkCZJFIYFR u3CgstN8ULfqfpYw6IA/o4Kno2hKIgQd5CxWRDjovp811ewEXKfs8ocVUbq8XZ2k ady1A8X2kjRueywEeJ+pMqTw0nTYqk9b33gpOjvIVMNflFXMn365a/bpYlMxwVE6 5odQOjH9gvl2TKOleQ6vAyQllowyMqOkEXkeh0FDRq8hdsy4nFi4sOy5roJNsn4Q Xp45tfFoSDaD6wL15Jglg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1658505169; x=1658591569; bh=y eS3I57a98LVKtw/9RlmViCkwSj5rZADeiLcvd5Yorg=; b=hy6xl+9+YOPWaDjuB JsJgLgPwBvHRHq1KtFfPMhdnK6xXbiLSdWuFzmWFxMfe3vT5BP9UAssD8kPf9bTl fSiwLGN3gyszFToUO033WsmQOvu78SLRD2zZYPV85yqbzGZ3/pjd+CmuD5RR1ZAV hlTer/GEdL//MAZdIYP/9huFg8QCSjf6+USUXO8IdBs0w3QxZAAA+0yPykgnJZza 4v4x5/OsLtyzfiXOh2O4gMqXkyGDopi3E4ykf2jBQbrxhButkyU7mXgOq5t5FvrT rFfp80cyn9Oz9IiVW9frNQD//34BhrXzFe7109YTdXdh6dOsfzKkfp34WVgqXt08 Q8Row== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddtvddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeehnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepvdekhfehhf elkeejueeuleehvdegjeefheelffethfdtfefffeegteffgfehfeffnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Jul 2022 11:52:48 -0400 (EDT) Subject: Re: 20220722-pg_dump: error: invalid number of parents 0 for table To: Techsupport , pgsql-general@lists.postgresql.org References: <014a01d89dde$9e120030$da360090$@sardonyx.in> From: Adrian Klaver Message-ID: <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com> Date: Fri, 22 Jul 2022 08:52:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <014a01d89dde$9e120030$da360090$@sardonyx.in> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/22/22 8:20 AM, Techsupport wrote: > *Hi Team,* > > We are using PostgreSQL 12.3, It is running under windows > > In that server there is nearly 8 databases are running. > > I have changed the data directory from one drive to another drive. At > the time of change the data directory, > > have stopped the PostgreSQL  instance and Copy the contents under the > data directory and paste it on the new drive, > > and changed the data directory in the  registry and start the instance. > > After that all the databases are working, but unable to take backup for > one database. > > In 8 database, I have faced this issue in one database. > > When I see the log file it gives the following error, > > > */2022-07-16 12:21:42.460 +04 [12936] WARNING:  could not write block 9 > of pg_tblspc/907117/PG_12_201909212/907120/2611/* > > */2022-07-16 12:21:42.460 +04 [12936] DETAIL:  Multiple failures --- > write error might be permanent./* > > … > > When I try to back up by using command prompt it shows the below error > > *//* > > */pg_dump: error: invalid number of parents 0 for table " Table name>"/* > > suggest me how to solve this issue. Do you have table spaces other then the default set up? In particular for partitioned tables. > > Thanks in advance. > > *Thanks,* > > *Karthick Ramu* > -- Adrian Klaver adrian.klaver@aklaver.com