This patch adds for "--ps-protocol" second execution of queries "SELECT". Also in this patch it is added ability to disable/enable (--disable_ps2_protocol/--enable_ps2_protocol) second execution for "--ps-prototocol" in testcases.
The testcase needs to set in_predicate_conversion_threshold which is only available in debug builds (this is subject to further discussion).