pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Techsupport <techsupport@sardonyx.in>
To: pgsql-general@lists.postgresql.org
Subject: Re: 20220722-pg_dump: error: invalid number of parents 0 for table
Date: Fri, 22 Jul 2022 08:52:47 -0700
Message-ID: <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com> (raw)
In-Reply-To: <014a01d89dde$9e120030$da360090$@sardonyx.in>
References: <014a01d89dde$9e120030$da360090$@sardonyx.in>

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





view thread (7+ messages)  latest in thread

Message-ID: <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com>
Permalink:  ../53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com/
Also on:    postgresql.org/message-id/53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, techsupport@sardonyx.in
  Subject: Re: 20220722-pg_dump: error: invalid number of parents 0 for table
  In-Reply-To: <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com>
  References: <014a01d89dde$9e120030$da360090$@sardonyx.in> <53c594eb-e9ce-242d-a962-6311526b7a9a@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox