extstats: change output functions to emit valid JSON
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 2 May 2017 21:49:32 +0000 (18:49 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 2 May 2017 21:49:32 +0000 (18:49 -0300)
commit93bbeec6a21b76612d77176a8054b41277135684
tree1394839e9425a9f670cffcef8d4c2fdee3359412
parente9500240661c03750923e6f539bfa2d75cfaa32a
extstats: change output functions to emit valid JSON

Manipulating extended statistics is more convenient as JSON than the
current ad-hoc format, so let's change before it's too late.

Discussion: https://postgr.es/m/20170420193828.k3fliiock5hdnehn@alvherre.pgsql
doc/src/sgml/perform.sgml
src/backend/statistics/dependencies.c
src/backend/statistics/mvdistinct.c
src/test/regress/expected/stats_ext.out