暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

PostgreSQL基础 include 额外的参数配置文件

CentOS 7.6.1810
postgresql 14.4

include 指定额外的参数配置文件

[postgres@localhost data]$ pwd /var/lib/pgsql/14/data [postgres@localhost data]$ ll | grep postgresql.conf -rw-------. 1 postgres postgres 28770 Jul 12 20:42 postgresql.conf [postgres@localhost data]$ vim postgresql.conf
复制
#------------------------------------------------------------------------------ # CONFIG FILE INCLUDES #------------------------------------------------------------------------------ # These options allow settings to be loaded from files other than the # default postgresql.conf. Note that these are directives, not variable # assignments, so they can usefully be given more than once. #include_dir = '...' # include files ending in '.conf' from a directory, e.g., 'conf.d' #include_if_exists = '...' # include file only if it exists #include = '...' # include file
复制
  • include_dir:加载目录中,以".conf"结尾的参数文件
  • include_if_exists:如果参数文件存在,则加载
  • include:加载参数文件,不存在则报错

学习资料


欢迎各位同学一起来交流学习心得!

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论