public inbox for [email protected]
help / color / mirror / Atom feedFrom: Erik Wienhold <[email protected]>
To: Sathish Reddy <[email protected]>
Cc: [email protected]
Cc: Keith Fiske <[email protected]>
Cc: Crunchy Bridge Support <[email protected]>
Subject: Re: Pg dump of parent table instead of taking child table
Date: Fri, 13 Sep 2024 18:24:38 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+M9Y+AzCxL0B5yJnLD3QU9H71bX8a9Eua9=d2gciY2oKDVY2w@mail.gmail.com>
References: <CA+M9Y+BqMNG4Fa+sgU+HG41a8pKw1P1skK0H7OhBxBXf+jE62Q@mail.gmail.com>
<[email protected]>
<CA+M9Y+AzCxL0B5yJnLD3QU9H71bX8a9Eua9=d2gciY2oKDVY2w@mail.gmail.com>
On 2024-09-13 15:11 +0200, Sathish Reddy wrote:
> We are using 14 version
> Pg_dump with -Fp and --loading-via-parent-root option
>
>
>
> Database name is better and schema is better. ..
But how are the tables defined, i.e., the CREATE TABLE statements?
Are we talking about table partitions when you're possibly using
--load-via-partition-root (as noted downthread)?
> On Fri, Sep 13, 2024, 6:24 PM Erik Wienhold <[email protected]> wrote:
>
> > On 2024-09-13 13:30 +0200, Sathish Reddy wrote:
> > > We are trying to take parent table backup included all child tables data
> > > into dump plan format.but we are getting failed to achieve.
> >
> > 1) Which Postgres version?
> >
> > 2) What pg_dump options did you use?
> >
> > 3) What output/error do you get?
> >
> > 4) What does the database schema look like? Are you using table
> > inheritance or foreign keys for the parent-child relationship?
--
Erik
view thread (7+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: Pg dump of parent table instead of taking child table
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox