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 1oEuSa-0006I2-3G for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 15:21:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEuSY-0006rm-Gt for pgsql-general@arkaria.postgresql.org; Fri, 22 Jul 2022 15:20:58 +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 1oEuSX-0006rX-NN for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 15:20:58 +0000 Received: from se2p-iad1.servconfig.com ([199.250.216.161]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEuSU-00028D-0d for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 15:20:56 +0000 Received: from res259.servconfig.com ([23.235.219.107]) by se2-iad1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1oEuSP-00084u-1t for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 11:20:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sardonyx.in ; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=He/hSk/NGZnN929I+4VCSsmCoYCJsbsP5FejrjbbIQo=; b=JWsO+KtFRy1PWfy2A9+38wKf5m L0VGlM627E0nWBm3oQez+dTp+FQIgiC1Iy4oWzYlNYDXcAvdjcYoHdSmrgBd525qceq3NElawZFTU tTPLs2bAIvmmiqy3aAItFjF4DcD6KUfs9izjTPyYQRphLomcVzkcTMn10sJgkY38F6ymRO1BDgFfJ sgopP8/xverJfkuR7Z5kNnljM6bw/hSuv+77/BrzUBpCqoiUxAnaHcT7lGlrmsPDPlL1G0I19CBG/ gUpvhH9WLij5eAscgpJLhj2b9RCeBKxzklkCevmVn7UrzocruLI9EeMrpT4/6hY9aUkKU0XrTPeU6 3/yqbxwA==; Received: from [117.200.75.50] (port=60468 helo=snappy199) by res259.servconfig.com with esmtpa (Exim 4.95) (envelope-from ) id 1oEuSL-00B1a9-EJ for pgsql-general@lists.postgresql.org; Fri, 22 Jul 2022 08:20:47 -0700 From: "Techsupport" To: Subject: 20220722-pg_dump: error: invalid number of parents 0 for table Date: Fri, 22 Jul 2022 20:50:43 +0530 Message-ID: <014a01d89dde$9e120030$da360090$@sardonyx.in> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_014B_01D89E0C.B7CC3800" X-Mailer: Microsoft Outlook 15.0 Thread-Index: Adid3D5JXoEZ0QirQXGEaOaYaHcb6A== 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.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xbE1XKRhdz/4Y+lVZRHzcwyqpqT8yviQ8jO25t09cceoS+ gjO/I8RAifZcgHhE9S8sLpiWo1gbvLKGz3rIimBa4pWx7WxWFZpsjT/483ewgsz4HwYGTNBY7kFu mOeXVInFgLjzxsEEdmiU3RWkRs0e+7DNbsWdBo86FEtjlwkd4ulDu9bVi8GY33O32apRd6keiIxn Uip+miPaV5cd7IUMoUB1LC6ozlGi3zzGY1ciSLvIdheW5syd2J3H6FHa0KMxQlNLYmzGmTH4gciw NqubdXVrF2FVSxDEQnZuJVHskuZG1fUd+zsVv0CjT0c5StJuxHTyr20QCMWbZvJ/43O0eFCgjm3k HTZZa/hYJaCZ8fcNUETBRWLEtPQetNUJFPsVHRapBQPmCpFJcnS4eXEmh7e94ySlOOMz4vj86XPR uRnseI5wwnqmjmbl2j8ks/7oREI39Ng7w+jWwVgutjGn/q4FRGnCQb9Qjwu36TjWnbR1IoyVcpAX xfUeXJw8PSKZyxi/aFboTUAaA09dklP/aIfVaCHpEB6cFH6WJxE4ZtF4nTQ8YfGGeAlgBbOgGHo5 mVOoToU2/RY7MmN0TJ8olphRm+6qHpyUSHlijW4xJMjj3pOasqyPsKQ9u2vuHPVIEcIaENJipDhK ZUenca0MMzg958IFbKKlNc0N5cagQhEVniihuDwEGDcmr6e3OPQXqYekNFZTTCxlJ6yLbDERPR5/ 9Lias7weif3wlFLBmP4FWSapelI6BeS6KEAM7bQ7Z59C3b+NWjTeR/jEabd7UV8ShebT8U8Xw9HT DfreWZv2mqznGBvJBrjtsuWEnY1QJTPo8bgRmWqZXCi6dqPjq+AS43Npx3+WJNqnxuRIZUG00WDY ODIKZZWzU30HdGXeNHk15VolAGHS5rCXQKDym0sfqVi8INpfT9o/AiYKnJWjbyJjMGQ9KohBj08l Qba0V4V3oaVygANlr7rmzZDvpH4k3zg/dljX3Xyh8aB/uRRcGvAMkGKozu6mLYl2/vU= 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 This is a multipart message in MIME format. ------=_NextPart_000_014B_01D89E0C.B7CC3800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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:16:58.019 +04 [9332] STATEMENT: select f_rta_log_partition(); 2022-07-16 12:21:41.186 +04 [12936] LOG: request to flush past end of generated WAL; request D9F/E61D8E10, currpos D9F/E61AB138 2022-07-16 12:21:41.186 +04 [12936] CONTEXT: writing block 9 of relation pg_tblspc/907117/PG_12_201909212/907120/2611 2022-07-16 12:21:41.187 +04 [12936] ERROR: xlog flush request D9F/E61D8E10 is not satisfied --- flushed only to D9F/E61AB138 2022-07-16 12:21:41.187 +04 [12936] CONTEXT: writing block 9 of relation pg_tblspc/907117/PG_12_201909212/907120/2611 2022-07-16 12:21:42.458 +04 [12936] LOG: request to flush past end of generated WAL; request D9F/E61D8E10, currpos D9F/E61AB138 2022-07-16 12:21:42.458 +04 [12936] CONTEXT: writing block 9 of relation pg_tblspc/907117/PG_12_201909212/907120/2611 2022-07-16 12:21:42.459 +04 [12936] ERROR: xlog flush request D9F/E61D8E10 is not satisfied --- flushed only to D9F/E61AB138 2022-07-16 12:21:42.459 +04 [12936] CONTEXT: writing block 9 of relation pg_tblspc/907117/PG_12_201909212/907120/2611 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 "" suggest me how to solve this issue. Thanks in advance. Thanks, Karthick Ramu ------=_NextPart_000_014B_01D89E0C.B7CC3800 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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:16:58.019 +04 [9332] = STATEMENT:  select f_rta_log_partition();

2022-07-16 12:21:41.186 +04 [12936] LOG:  = request to flush past end of generated WAL; request D9F/E61D8E10, = currpos D9F/E61AB138

2022-07-16 12:21:41.186 +04 [12936] = CONTEXT:  writing block 9 of relation = pg_tblspc/907117/PG_12_201909212/907120/2611

2022-07-16 12:21:41.187 +04 [12936] ERROR:  = xlog flush request D9F/E61D8E10 is not satisfied --- flushed only to = D9F/E61AB138

2022-07-16 = 12:21:41.187 +04 [12936] CONTEXT:  writing block 9 of relation = pg_tblspc/907117/PG_12_201909212/907120/2611

2022-07-16 12:21:42.458 +04 [12936] LOG:  = request to flush past end of generated WAL; request D9F/E61D8E10, = currpos D9F/E61AB138

2022-07-16 12:21:42.458 +04 [12936] = CONTEXT:  writing block 9 of relation = pg_tblspc/907117/PG_12_201909212/907120/2611

2022-07-16 12:21:42.459 +04 [12936] ERROR:  = xlog flush request D9F/E61D8E10 is not satisfied --- flushed only to = D9F/E61AB138

2022-07-16 = 12:21:42.459 +04 [12936] CONTEXT:  writing block 9 of relation = pg_tblspc/907117/PG_12_201909212/907120/2611

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 "<partition Table name>"

 

suggest me = how to solve this issue.

Thanks in = advance.

 

Thanks,

Karthick Ramu

------=_NextPart_000_014B_01D89E0C.B7CC3800--