Re: Easy dump of partitioned and inherited data - Mailing list pgsql-hackers

From Przemysław Sztoch
Subject Re: Easy dump of partitioned and inherited data
Date
Msg-id 3d532b24-791b-f236-2b63-f1300524ff10@sztoch.pl
Whole thread Raw
In response to Easy dump of partitioned and inherited data  (Przemysław Sztoch <przemyslaw@sztoch.pl>)
List pgsql-hackers
Przemysław Sztoch wrote on 17.05.2023 17:46:
2. Another common usability problem is a quick dump of the selected parent table.
It is important that it should includes all inherited tables or subpartitions.
Now you can't just specify -t root-table-name, because you'll usually get an empty data dump.

The list of necessary tables is sometimes very long and, when using timescaledb, partition tables are called not humanly.
Just saw that the problem was solved in "[Proposal] Allow pg_dump to include all child tables with the root table"
and "pg_dump - read data for some options from external file".
--
Przemysław Sztoch | Mobile +48 509 99 00 66

pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Re: PG 16 draft release notes ready
Next
From: Bruce Momjian
Date:
Subject: Re: PG 16 draft release notes ready