Предоставьте все привилегии базы данных Postgres пользователю
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
Hilarious Hamerkop
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA schema_name TO username;
ALTER DATABASE name OWNER TO new_owner;