
postgresql
xiaozhu_personal
github.com/xiaohesong/til
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu下如何查看postgresql的运行日志
1. 废话不多说,直接配置。(此处以pg 9.3为例) ubuntu的默认配置是在 /etc/postgresql/9.3/main下,找到postgresql.conf。 在when to log的标题下,找到 logging_collector, 设置为 on。然后切勿忘记去除注释。 可以发现,默认的log是在 #log_directory = 'pg_log'。 这个地方原创 2016-10-24 17:55:58 · 13863 阅读 · 0 评论 -
阿里云的ubuntu 下安装postgresql,以及无法启动的问题。
ubuntu postgresql warning: Please check that your locale settings: No PostgreSQL clusters exist; see “man pg_createcluster”原创 2016-12-14 12:05:18 · 2427 阅读 · 0 评论