[pgpool-general: 5209] forcing select to go to master with /*nobalance*/

Avi Weinberg AviW at gilat.com
Tue Jan 3 23:53:21 JST 2017


Hi all,

I'm using hibernate and wanted to use /*nobalance*/ to force some selects to go to master.  However, when I enabled hibernate to pass comments to the database it added its own comments to each and every query.  As a result all my selects go to master.  It seems like pgpool does not care what the comment is as long as there is a comment it sends it to master.  How can I tell pgpool to send it to the master only if the comment is /*nobalance*/


Thanks
Avi
IMPORTANT - This email and any attachments is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform the sender immediately and delete this email: you should not copy or use this e-mail for any purpose nor disclose its contents to any person.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20170103/37cd6c05/attachment.html>


More information about the pgpool-general mailing list