pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: " <pgsql-general@postgresql.org>
Subject: Re: pg_dump of partitioned table not working.
Date: Wed, 2 Dec 2020 18:09:23 -0600
Message-ID: <ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.com> (raw)
In-Reply-To: <CAKFQuwZOYU3mDcFGp4QhQixjRV38Jv3_mP7908KZO3-zYPOxKg@mail.gmail.com>
References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com>
	<1680962.1606952548@sss.pgh.pa.us>
	<CAKFQuwZOYU3mDcFGp4QhQixjRV38Jv3_mP7908KZO3-zYPOxKg@mail.gmail.com>

On 12/2/20 5:49 PM, David G. Johnston wrote:
> On Wednesday, December 2, 2020, Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.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.

view thread (20+ messages)  latest in thread

Message-ID: <ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.com>
Permalink:  ../ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.com/
Also on:    postgresql.org/message-id/ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.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: ronljohnsonjr@gmail.com
  Subject: Re: pg_dump of partitioned table not working.
  In-Reply-To: <ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.com>
  References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <1680962.1606952548@sss.pgh.pa.us> <CAKFQuwZOYU3mDcFGp4QhQixjRV38Jv3_mP7908KZO3-zYPOxKg@mail.gmail.com> <ade1b65f-211b-ba4f-468a-c00df93c6f1a@gmail.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