Re: Non-text mode for pg_dumpall

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Mahendra Singh Thalor <mahi6run@gmail.com>, Vaibhav Dalvi <vaibhav.dalvi@enterprisedb.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-11-11T15:11:52Z
Lists: pgsql-hackers
On 2025-11-11 Tu 12:59 AM, Mahendra Singh Thalor wrote:
>
> Hi,
> Here, I am attaching an updated patch for the review and testing.
>
> FIX: as suggested by Vaibhav, added error for --restrict-key option
> with non-text format.
>


Regarding the name and format of the globals toc file, I'm inclined to 
think we should always use custom format, regardless of whether the 
individual databases will be in custom, tar or directory formats, and 
that it should be called something distinguishable, e.g. toc.glo.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com