> On 5 May 2025, at 23:37, Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> wrote:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> which for starters means you'd have to write your own parser.
>> Something that might integrate better is JSON; we already have
>> code for that, and use-cases such as backup manifest files.
>
> JSON isn't very human-friendly for writing, it's more of a data
> interchange format that happens to be human-readable.
The thread for adding --filter to pg_dump discussed file formats at length,
there might be learnings and arguments there which are of interest.
https://postgr.es/m/CAFj8pRB10wvW0CC9Xq=1XDs=zCQxer3cbLcNZa+qiX4cUH-G_A@mail.gmail.com
--
Daniel Gustafsson