当前位置:Gxlcms > 数据库问题 > postgresql学习之安装篇

postgresql学习之安装篇

时间:2021-07-01 10:21:17 帮助过:26人阅读

PgArch,用于预写日志归档;同步数据用的。

技术分享

 详细关于进程的可以参考http://wiki.postgresql.org/wiki/Pgsrcstructure

如果修改过配置需要执行pg_ctl reload重新加载数据库

postgres@ubuntu:~$ psql -h 127.0.0.1 -p 5432
Password:
psql (9.3.10, server 9.4.5)
WARNING: psql major version 9.3, server major version 9.4.
Some psql features might not work.
Type "help" for help.

postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
postgres | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 |
template0 | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(3 rows)

postgresql学习之安装篇

标签:系统   chmod   启动   version   环境   恢复   sql   登陆   width   

人气教程排行