Why is pg_restore returning successfully but not actually restoring my database?
问题 I have a Postgres 8.4 database on a linux server that I have dumped using the following command: pg_dump --format=c --exclude-table=log --file=/path/to/output my_db I then ftp the created file to my local Windows 7 machine and attempt to restore the file to my local Postgres 8.4 instance using the following command: pg_restore --create --exit-on-error --verbose c:\path\to\file The restore command generates plenty of output claiming it created my database, connected to it, and then created all