In native replication, queries including now() etc. are rewritten to a timestamp constant value.
However, Pgpool-II didn't support queries including now() etc. and "IN (SELECT ...)" in WHERE clause.
Per bug433.
{
_outNode(str, node->testexpr);
+ /*
+ * If the source was "x IN (select)", convert to "x = ANY (select)".
+ */
+ if (node->subLinkType == ANY_SUBLINK && node->operName == NIL)
+ node->operName = list_make1(makeString("="));
+
if (node->operName != NIL)
{
Value *v = linitial(node->operName);