
首先得安装 brew,这个网上资料一大推,不细说。
brew install PgBouncer
The config file: /usr/local/etc/pgbouncer.ini is in the "ini" format and you
will need to edit it for your particular setup. See:
https://pgbouncer.github.io/config.HTML
The auth_file option should point to the /usr/local/etc/userList.txt file which
can be populated by the /usr/local/opt/pgbouncer/bin/mkauth.py script.
To have launchd start pgbouncer Now and restart at login:
brew services start pgbouncer
Or,if you don't want/need a background service you can just run:
pgbouncer -q /usr/local/etc/pgbouncer.ini
相关资料
https://www.linkedin.com/pulse/scaling-greenplum-pgbouncer-sandeep-katta-/?articleId=6128769027482402816
总结以上是内存溢出为你收集整理的OSX下安装PgBouncer全部内容,希望文章能够帮你解决OSX下安装PgBouncer所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)