Exclude all child tables during while taking dump

From: Shrikant Bhende <shrikantpostgresql(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Exclude all child tables during while taking dump
Date: 2020-03-16 10:45:16
Message-ID: CAMTQpJCPVG2VtYGPDPvrYhiU5yrqVYMGGjkyp_3zfeEt+t9M_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,
I am trying to take schema only dump of a database using pg_dump, but
seems like there's no option to exclude child tables. I need to take dump
of schema of parent tables not the child tables, is there any way to
exclude all the child tables for all the tables?
PostgreSQL version 12.

Thanks and regards

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shrikant Bhende 2020-03-16 10:49:29 Re: Exclude all child tables during while taking dump
Previous Message Asomba Djala 2020-03-12 09:17:24 wal-g back-list returns no backups