Re: pg_restore dbname

2020-04-29 Thread Tom Lane
PG Doc comments form writes: > "-C > --create > ... > When this option is used, the database named with -d is used only to > issue the initial DROP DATABASE and CREATE DATABASE commands. All data is > restored into the database name that appears in the archive." > I am finding the opposite

pg_restore dbname

2020-04-29 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/app-pgrestore.html Description: "-C --create Create the database before restoring into it. If --clean is also specified, drop and recreate the target database before connecting to