Re: Partition table data not found in pg_dump

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: vinothcanwin <vincanwin(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Partition table data not found in pg_dump
Date: 2016-04-22 13:57:55
Message-ID: 571A2DE3.9040009@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/15/2016 11:35 PM, vinothcanwin wrote:
> Partition tables are empty in backup while using pg_dump to take backup, but
> those tables having data in database. Below is the command i am using to
> take backup.
>
> ./pg_dump -i -h localhost -p 5432 -U postgres -F c -b -v -f /tmp/dump.sql
> db_mydb
>

Not seeing much wrong above. FYI, -i is deprecated/ignored and -b is
only needed if you are doing a selective dump, which is not the case here.

Are you sure you are pointing at the right database?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John McKown 2016-04-22 14:00:13 Re: Proper relational database?
Previous Message Geoff Winkless 2016-04-22 12:21:36 Re: Proper relational database?