Re: Pg dump of parent table instead of taking child table

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: Pg dump of parent table instead of taking child table
Дата
Msg-id 4996c1e7-2eec-4fae-ad75-b337cfad65de@ewie.name
обсуждение исходный текст
Ответ на Re: Pg dump of parent table instead of taking child table  (Sathish Reddy <sathishreddy.postgresql@gmail.com>)
Ответы Re: Pg dump of parent table instead of taking child table
Список pgsql-admin
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 <ewie@ewie.name> 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



В списке pgsql-admin по дате отправления: