public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Wasim Devale <[email protected]>
Cc: Pgsql-admin <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: pg_dump
Date: Mon, 12 Aug 2024 12:16:17 -0700
Message-ID: <CAKFQuwZLpJkxOJzZW6Y8qKiXUkVmLZFRX=jn2LbYarVKzVmRfw@mail.gmail.com> (raw)
In-Reply-To: <CAB5fag579JWutV2KyDcKVPpiba=H55k1vx8sxc8RPKyp8ssgEQ@mail.gmail.com>
References: <CAB5fag579JWutV2KyDcKVPpiba=H55k1vx8sxc8RPKyp8ssgEQ@mail.gmail.com>
On Monday, August 12, 2024, Wasim Devale <[email protected]> wrote:
>
>
> Please let me know if the below option persists while using pg_dump
> command:
>
> -t table_name --exclude-column column_name
>
No, there is no option to dump a partial table, rows or columns.
>
> I just want to exclude this in the dump file as it is of 99GB but I want
> the other data in the same table which is of only 22MB.
>
> Please let me know any work around this.
>
Write your own copy command to export that table’s contents. See the
—snapshot option.
David J.
view thread (17+ 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]
Subject: Re: pg_dump
In-Reply-To: <CAKFQuwZLpJkxOJzZW6Y8qKiXUkVmLZFRX=jn2LbYarVKzVmRfw@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox