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:14:31 -0600
Message-ID: <b0d87be4-c960-2c91-dafe-1d163063b818@gmail.com> (raw)
In-Reply-To: <1681291.1606953006@sss.pgh.pa.us>
References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com>
	<1680962.1606952548@sss.pgh.pa.us>
	<1681291.1606953006@sss.pgh.pa.us>

On 12/2/20 5:50 PM, Tom Lane wrote:
> I 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.  Maybe we should add it.
> Or actually: that syntax does do something, but it selects
> tables by pattern matching not hierarchy, ie you get everything
> whose name starts with "measurement".  Depending on your naming
> conventions, that might be close enough.
>
> It does seem like there might be reason to have a switch along
> the lines of "--include-child-tables".

That would be great, but won't help me in v12.


-- 
Angular momentum makes the world go 'round.





view thread (20+ messages)  latest in thread

Message-ID: <b0d87be4-c960-2c91-dafe-1d163063b818@gmail.com>
Permalink:  ../b0d87be4-c960-2c91-dafe-1d163063b818@gmail.com/
Also on:    postgresql.org/message-id/b0d87be4-c960-2c91-dafe-1d163063b818@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: <b0d87be4-c960-2c91-dafe-1d163063b818@gmail.com>
  References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <1680962.1606952548@sss.pgh.pa.us> <1681291.1606953006@sss.pgh.pa.us> <b0d87be4-c960-2c91-dafe-1d163063b818@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