OSDN Git Service

Support multi-targetted ModifyTable in plan output in text-style
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 26 Aug 2016 05:02:51 +0000 (14:02 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 26 Aug 2016 05:37:26 +0000 (14:37 +0900)
commit25c9032c19e72119526f628e1b7c26fe6350c9db
tree6341c65a3abd52d92df57ece3628c7ba34233746
parentc6c63f2b1f678445bf8ba79815fbf0004ab8ef47
Support multi-targetted ModifyTable in plan output in text-style

PostgreSQL 9.5 newly supports explicit target table listing for
ModifyTable and pg_store_plans doesn't show such plans sainly in text
style. This doesn't affect JSON, XML, YAML styles of output.

Note: JSON representation lacks information about whether every target
table is a Foreign relation or not so the result of
pg_store_plans_textplan tells as if all target tables are local
relations even if there's remote ones.
json2sql.pl
makeplanfile.sql
pgsp_json.c
pgsp_json_int.h
pgsp_json_text.c
pgsp_json_text.h