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 1oF6kM-00071y-N9 for pgsql-general@arkaria.postgresql.org; Sat, 23 Jul 2022 04:28:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oF6kL-0002ly-DH for pgsql-general@arkaria.postgresql.org; Sat, 23 Jul 2022 04:28:09 +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 1oF6kK-0002lp-Ov for pgsql-general@lists.postgresql.org; Sat, 23 Jul 2022 04:28:09 +0000 Received: from se1l-lax1.servconfig.com ([23.235.223.115]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oF6kH-0000DD-IK for pgsql-general@lists.postgresql.org; Sat, 23 Jul 2022 04:28:07 +0000 Received: from res259.servconfig.com ([23.235.219.107]) by se1-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1oF6k9-000Cgq-Jy; Sat, 23 Jul 2022 00:28:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sardonyx.in ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:In-Reply-To:References:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=tbOmXOdDdWyopHFEGErDXuBXq7Ll5MM3+k3p5Kzct1c=; b=r8gNX4IEaGM5u1lD0EUnRFeizA A3q+cwb5oSVF7I+E89Jls/WM9FrtxjaAjtrLjcOODXLYChu8XTQe+zJ01L3/g7IKKsR61G6i+OgH2 zkIFwjrgTKOjUTquKpVOquhj3EsuaN9jMIHHff+5dXa6KiyNvK6TB626PLuHLRzeaawSerIq47jyC mHoLs3smEz90DxSzUUoFWFybj72ACt6MKO4fxrliF1YnRzPO4tqrVV4/bf+4ZwT1GurLmwzeusgk1 sHjl+s0LzBgFT2DToN22uiaaq793K+1cWWHE2s4dxIU8tJyL4Lf5721tZ5MGAJmpkHIynOIrEls+u maPet1gg==; Received: from [117.200.75.50] (port=62466 helo=snappy199) by res259.servconfig.com with esmtpa (Exim 4.95) (envelope-from ) id 1oF6k8-00296T-1r; Fri, 22 Jul 2022 21:27:56 -0700 From: "Techsupport" To: "'Adrian Klaver'" , References: <014a01d89dde$9e120030$da360090$@sardonyx.in> <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com> In-Reply-To: <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com> Subject: RE: 20220722-pg_dump: error: invalid number of parents 0 for table Date: Sat, 23 Jul 2022 09:57:53 +0530 Message-ID: <015301d89e4c$952913f0$bf7b3bd0$@sardonyx.in> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQK1HdJa16rBf9wQvzfxeR+u2robcAIrRPneq8ECtDA= Content-Language: en-us X-Get-Message-Sender-Via: res259.servconfig.com: authenticated_id: techsupport@sardonyx.in X-Authenticated-Sender: res259.servconfig.com: techsupport@sardonyx.in X-Originating-IP: 23.235.219.107 X-SpamExperts-Domain: res259.servconfig.com X-SpamExperts-Username: 23.235.219.107 Authentication-Results: servconfig.com; auth=pass smtp.auth=23.235.219.107@res259.servconfig.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.10) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH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l4sS1H5aNJEWmk5BlLot3lLY5Fu/nq1mf dqvGyP7QRMmuySfLJTRAGmIrVB/7OtIonQ== X-Report-Abuse-To: spam@se1-lax1.servconfig.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks for your reply Adrian Klaver, Yes, I have the tablespace. It is not located in the default data = directory. It is comes under new directory Thanks, Karthick Ramu -----Original Message----- From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]=20 Sent: Friday, July 22, 2022 9:23 PM To: Techsupport; pgsql-general@lists.postgresql.org Subject: Re: 20220722-pg_dump: error: invalid number of parents 0 for = table On 7/22/22 8:20 AM, Techsupport wrote: > *Hi Team,* >=20 > We are using PostgreSQL 12.3, It is running under windows >=20 > In that server there is nearly 8 databases are running. >=20 > I have changed the data directory from one drive to another drive. At=20 > the time of change the data directory, >=20 > have stopped the PostgreSQL =A0instance and Copy the contents under = the=20 > data directory and paste it on the new drive, >=20 > and changed the data directory in the =A0registry and start the = instance. >=20 > After that all the databases are working, but unable to take backup=20 > for one database. >=20 > In 8 database, I have faced this issue in one database. >=20 > When I see the log file it gives the following error, >=20 >=20 > */2022-07-16 12:21:42.460 +04 [12936] WARNING:=A0 could not write = block=20 > 9 of pg_tblspc/907117/PG_12_201909212/907120/2611/* >=20 > */2022-07-16 12:21:42.460 +04 [12936] DETAIL:=A0 Multiple failures --- = > write error might be permanent./* >=20 > =85 >=20 > When I try to back up by using command prompt it shows the below error >=20 > *//* >=20 > */pg_dump: error: invalid number of parents 0 for table " Table name>"/* >=20 > suggest me how to solve this issue. Do you have table spaces other then the default set up? In particular = for partitioned tables. >=20 > Thanks in advance. >=20 > *Thanks,* >=20 > *Karthick Ramu* >=20 -- Adrian Klaver adrian.klaver@aklaver.com