Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的查询是,如何在pgpool. 我已经尝试了 black_function_list 参数,pgpool.conf但没有成功。
pgpool
pgpool.conf
另外,我的pgpool模式是流式传输并且负载平衡是打开的。
pgpool 的 black_function_list 参数只适用于函数。对于其他查询,您可以在查询字符串中使用 / NO LOAD BALANCE / 前缀注释,以确保它应该落在主 PostgreSQL 节点上。
For example postgres=#/*NO LOAD BALANCE*/ SELECT * from abc;