Re: Easy dump of partitioned and inherited data

From: Przemysław Sztoch <przemyslaw(at)sztoch(dot)pl>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Easy dump of partitioned and inherited data
Date: 2023-05-18 21:44:32
Message-ID: 3d532b24-791b-f236-2b63-f1300524ff10@sztoch.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
<https://commitfest.postgresql.org/43/2573/>".
--
Przemysław Sztoch | Mobile +48 509 99 00 66

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2023-05-18 21:46:02 Re: PG 16 draft release notes ready
Previous Message Jonathan S. Katz 2023-05-18 21:39:08 Re: PG 16 draft release notes ready