我试图从.sql文件恢复postgres中的数据库中的表。
我使用了命令pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 359; 1259 499945 TABLE fuller4t7 someName
pg_restore: [archiver (db)] could not execute query: ERROR: permission denied to create "pg_catalog.fuller4t7"
DETAIL: System catalog modifications are currently disallowed.
Command was: CREATE TABLE fuller4t7 (
gid integer NOT NULL,
geom public.geometry(MultiPolygon,4326)
);
。用户是超级用户。但我有几个错误:
MT.EXE etc...
if NOT %ERRORLEVEL%==0 ...
其他错误与此错误有关,因为该表并非首先创建。我想知道这些错误意味着什么。我正在使用postgres 9.4,并且我将PostGIS扩展添加到特定数据库中。