我try 了pg_dump
次,然后在另一台机器上try 导入sql并填充数据库,我明白了
CREATE TABLE
ERROR: role "prod" does not exist
CREATE TABLE
ERROR: role "prod" does not exist
CREATE TABLE
ERROR: role "prod" does not exist
CREATE TABLE
ERROR: role "prod" does not exist
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
WARNING: no privileges could be revoked for "public"
REVOKE
ERROR: role "postgres" does not exist
ERROR: role "postgres" does not exist
WARNING: no privileges were granted for "public"
GRANT
这意味着我的user
、roles
和grant
信息不在pg_dump
中
On the other hand we have pg_dumpall
, I read conversation, and this does not lead me anywhere?
Question