软件下载吧文章资讯

分类分类

PostgreSQL中的template0和template1库使用实战

2024-03-07 21:27作者:下载吧

postgresql中默认会有三个数据库:postgres、template0、template1。

postgres=# l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
———–+———-+———-+————-+————-+———————–
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =T/postgres +
| | | | | postgres=CTc/postgres
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(3 rows)

postgres=#

展开全部

相关文章

说两句网友评论
    我要跟贴
    取消