Fix syntax error in native replication, when queries including now() etc. and "IN... origin/V3_4_STABLE
authorBo Peng <pengbo@sraoss.co.jp>
Thu, 18 Oct 2018 09:12:24 +0000 (18:12 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Thu, 18 Oct 2018 09:23:47 +0000 (18:23 +0900)
commit103ac89fbb7fcf261008e9b4fa8cc5e934daebf8
treedb95799ac3255bbe8b0bfce39c2e13005f476ffe
parenta5479b08fcc955b50865a249b7ad3afc448d732d
Fix syntax error in native replication, when queries including now() etc. and "IN (SELECT ...)" in WHERE clause.

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.
src/parser/outfuncs.c