> I noticed that get_json_table_plan() is never executed by the existing > tests. The proposed patch fixes this.
Hi Aleksander, I tested this patch on the current PostgreSQL master.The patch applied cleanly, but make check reported one regression test failure in sqljson_jsontable. Looking at regression.diffs, the failure comes from the newly added JSON_TABLE ... PLAN (...) statements. On my setup, they fail with: ERROR: syntax error at or near "PLAN" I also tried running the same JSON_TABLE ... PLAN (...) query manually in psql and got the same syntax error. Apart from that, I verified that the existing JSON_TABLE functionality still works as expected. I tested SELECT, EXPLAIN, EXPLAIN VERBOSE, and EXPLAIN ANALYZE, and they all produced the expected results. Is this patch expected to be applied on top of another patch that adds support for the JSON_TABLE PLAN (...) syntax? Regards, Solai
