如何运行pg_dump?它失败并显示“ pg_dump:[存档(db)]查询失败:Р?РЁР?Р'”

时间:2019-06-26 22:49:59

标签: postgresql dump

如何获取新的转储?工作正常,但当前无法使用(使用Hibernate生成了DDL):

Password:
pg_dump: [archiver (db)] query failed: Р?РЁР?Р'Р?Р?:  Р?РчС' Р?Р?С?С'С?РїР° Рє С'Р°Р+Р>РёС┼Рч address
pg_dump: [archiver (db)] query was: LOCK TABLE public.address IN ACCESS SHARE MODE```
Failed on table:


CREATE TABLE public.address (
    id int8 NOT NULL,
    created_at timestamp NULL,
    updated_at timestamp NULL,
    first_line varchar(255) NULL,
    second_line varchar(255) NULL,
    created_by_id int8 NULL,
    updated_by_id int8 NULL,
    CONSTRAINT address_pkey PRIMARY KEY (id),
    CONSTRAINT uk_hc8oul9dk1w3eqvro4go5fktk UNIQUE (second_line),
    CONSTRAINT fk595v9ynufg5bhir8havm099tr FOREIGN KEY (updated_by_id) REFERENCES user_account(id),
    CONSTRAINT fke3g20g1qymd4kdkik3ub58eam FOREIGN KEY (created_by_id) REFERENCES user_account(id)
);

0 个答案:

没有答案