软件下载吧文章资讯

分类分类

postgresql 中的参数查看和修改方式

2024-02-08 11:17作者:下载吧

1.查看参数文件的位置

使用show 命令查看,比较常用的show config_file.此还可以查看pg_settings数据字典.

test=# show config_file;
config_file
——————————
/data/pgdata/postgresql.conf
(1 row)
test=# show hba_file
test-# ;
hba_file
————————–
/data/pgdata/pg_hba.conf
(1 row)
test=# show ident_file ;
ident_file
—————————-
/data/pgdata/pg_ident.conf

展开全部

相关文章

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