Re: Add --include-table-data-where option to pg_dump, to export onlya subset of table data - Mailing list pgsql-hackers

From Surafel Temesgen
Subject Re: Add --include-table-data-where option to pg_dump, to export onlya subset of table data
Date
Msg-id CALAY4q8NETGrT=vGtC7N1z6WV2gcc4HVkCv69PQAQ50eNzgNtg@mail.gmail.com
Whole thread Raw
In response to Re: Add --include-table-data-where option to pg_dump, to export onlya subset of table data  (Carter Thaxton <carter.thaxton@gmail.com>)
Responses Re: Add --include-table-data-where option to pg_dump, to export onlya subset of table data
List pgsql-hackers
hey,
i am reviewing this patch
On Thu, May 31, 2018 at 4:49 AM, Carter Thaxton <carter.thaxton@gmail.com> wrote:

  pg_dump --where '"foo:bar":created_at >= '2018-05-01'" dbname
 
it would be more sqlish if it specified like: 
--table=foo --where ="bar created_at >= 2018-05-01"
and i don't like the idea of duplicating the existing --table behavior it may confuse user
i rather recommend extending it. And when i test it with --table option the content of dump
file depend on the option specified first.
  
Regards
Surafel

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Tips on committing
Next
From: Michael Paquier
Date:
Subject: Re: Tips on committing