From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Wasim Devale <wasimd60(at)gmail(dot)com> |
Cc: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_dump |
Date: | 2024-08-12 19:16:17 |
Message-ID: | CAKFQuwZLpJkxOJzZW6Y8qKiXUkVmLZFRX=jn2LbYarVKzVmRfw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Monday, August 12, 2024, Wasim Devale <wasimd60(at)gmail(dot)com> 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Holger Jakobs | 2024-08-12 19:18:41 | Re: pg_dump |
Previous Message | Wasim Devale | 2024-08-12 19:09:50 | pg_dump |