修改数据库配置
最近更新时间: 2025-02-18 16:02:00
- 修改数据库名称。
postgres=# alter database tbase_db rename to tbase_db_new;
ALTER DATABASE
- 修改连接数。
postgres=# alter database tbase_db_new connection limit 50;
ALTER DATABASE
- 修改数据库所有者。
postgres=# alter database tbase_db_new owner to tbase;
ALTER DATABASE
- 配置数据默认运行参行。
postgres=# alter database tbase_db_new set search_path to public,pg_catalog,pg_oracle;
ALTER DATABASE
- Alter database不支持的项目。
不支持项目 项目 备注 encoding 编码 lc_collate 排序规则 lc_ctype 分组规则