Thanks Tom and Andrew.
Regards,
Srinath Reddy Sadipiralla,
EDB: http://www.enterprisedb.com
On Sat, Jan 25, 2025 at 9:55 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Srinath Reddy <srinath2133(at)gmail(dot)com> writes:
> > wouldn't it be nice if we get the error message as same as when we didn't
> > gave format option and pg_restore finds the format
> > using _discoverArchiveFormat there it suggests to try psql ,instead of
> > saying "p/plain text" format is a invalid format,as we are doing
> currently
> > in pg.
>
> Good idea. I pushed your patch with that addition.
>
> regards, tom lane
>