错误:使用Postgres拒绝序列city_id_seq的权限
我是Postgres(以及所有数据库信息系统)的新手。我在数据库上运行了以下sql脚本: create table cities ( id serial primary key, name text not null ); create table reports ( id serial primary key, cityid integer not null references cities(id), reportdate date not null, reporttext text not null ); create user www with password 'www'; grant select on cities to www; grant …