On 7/19/22 9:49 AM, Benedict Holland wrote:
> You have to create the database to restore to. Then pg_resrore should work.
The OP is not using pg_restore but psql as the dump file is plain text.
>
> Thanks,
> Ben
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com