修改数据库名称 teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE 修改连接数 teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE 修改数据库所有者 teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE 设置search_path
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb