pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: pg_dump of partitioned table not working.
Date: Wed, 02 Dec 2020 18:42:28 -0500
Message-ID: <1680962.1606952548@sss.pgh.pa.us> (raw)
In-Reply-To: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com>
References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com>

Ron <ronljohnsonjr@gmail.com> writes:
> What am I missing?

There's no data in a partitioned table per se, so the result is
not surprising.

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.

			regards, tom lane





view thread (20+ messages)  latest in thread

Message-ID: <1680962.1606952548@sss.pgh.pa.us>
Permalink:  ../1680962.1606952548@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1680962.1606952548@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
  Subject: Re: pg_dump of partitioned table not working.
  In-Reply-To: <1680962.1606952548@sss.pgh.pa.us>
  References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <1680962.1606952548@sss.pgh.pa.us>

* 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