| From: | Ron <ronljohnsonjr(at)gmail(dot)com> |
|---|---|
| To: | "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: pg_dump of partitioned table not working. |
| Date: | 2020-12-03 00:09:23 |
| Message-ID: | ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 12/2/20 5:49 PM, David G. Johnston wrote:
> On Wednesday, December 2, 2020, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
>
>
> What you need here is something like "pg_dump -t measurement*"
> to indicate that you want measurement's child tables too, but
> AFAIR pg_dump has no such feature.
>
>
> -t accepts a pattern in pg_dump. But that requires the user to adhere to
> a naming scheme.
Not only adhering to a naming scheme, but ensuring that there aren't any
other tables which match "measurement*".
--
Angular momentum makes the world go 'round.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron | 2020-12-03 00:13:02 | Re: pg_dump of partitioned table not working. |
| Previous Message | David G. Johnston | 2020-12-03 00:08:50 | Re: pg_dump of partitioned table not working. |