]> granicus.if.org Git - postgresql/commit
Rename columns in new pg_statistic_ext catalog
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 17 Apr 2017 21:34:29 +0000 (18:34 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 17 Apr 2017 21:34:29 +0000 (18:34 -0300)
commitee6922112e9b3c02b995bd1d838c9a261f060133
tree2d8678c97967dbdccdfa692a4b75fdd5f21cbe06
parent8c5cdb7f4f6e1d6a6104cb58ce4f23453891651b
Rename columns in new pg_statistic_ext catalog

The new catalog reused a column prefix "sta" from pg_statistic, but this
is undesirable, so change the catalog to use prefix "stx" instead.
Also, rename the column that lists enabled statistic kinds as "stxkind"
rather than "enabled".

Discussion: https://postgr.es/m/CAKJS1f_2t5jhSN7huYRFH3w3rrHfG2QU7hiUHsu-Vdjd1rYT3w@mail.gmail.com
22 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/planstats.sgml
src/backend/catalog/aclchk.c
src/backend/catalog/heap.c
src/backend/catalog/objectaddress.c
src/backend/commands/statscmds.c
src/backend/optimizer/util/plancat.c
src/backend/statistics/dependencies.c
src/backend/statistics/extended_stats.c
src/backend/statistics/mvdistinct.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/cache/relcache.c
src/backend/utils/cache/syscache.c
src/bin/pg_dump/pg_dump.c
src/bin/psql/describe.c
src/include/catalog/catversion.h
src/include/catalog/indexing.h
src/include/catalog/pg_statistic_ext.h
src/test/regress/expected/alter_generic.out
src/test/regress/expected/stats_ext.out
src/test/regress/sql/alter_generic.sql
src/test/regress/sql/stats_ext.sql