Re: pg_restore V12 fails consistently against piped pg_dumps - Mailing list pgsql-general

From Laurenz Albe
Subject Re: pg_restore V12 fails consistently against piped pg_dumps
Date
Msg-id 9229bd9315ae87f8184872ec13d9d988bde95be1.camel@cybertec.at
Whole thread Raw
In response to Re: pg_restore V12 fails consistently against piped pg_dumps  (Mohamed Wael Khobalatte <mkhobalatte@grubhub.com>)
Responses Re: pg_restore V12 fails consistently against piped pg_dumps  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On Thu, 2020-05-07 at 11:04 -0400, Mohamed Wael Khobalatte wrote:
> Thanks Tom, I will review those changes tonight. In the meantime, to
> reproduce, I run the following:
> 
> - createdb test
> - create some tables, I used a simple loop to create 10 empty ones.
> - pg_dump -v -Fc test | tee test.dump > /dev/null (so it's through a
> pipe, same as if the file is streamed through curl which was the
> original case)
> - pg_restore -j4 --verbose --clean --no-acl --no-owner -d test test.dump
> 
> That should fail consistently. pg_restore_12 and pg_dump_12. Same
> passes in if I run in earlier versions.

I just tried that and didn't encounter any errors.

Please come up with a more complete example.

Are you OS user "postgres" when you run that?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Odd postgres12 upgrade is changing or munging a password?
Next
From: Jill Jade
Date:
Subject: Re: pg_temp schema created while using DB Link