aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-04-17 18:34:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-04-17 18:34:29 -0300
commitee6922112e9b3c02b995bd1d838c9a261f060133 (patch)
tree2d8678c97967dbdccdfa692a4b75fdd5f21cbe06 /src/backend/utils/cache/syscache.c
parent8c5cdb7f4f6e1d6a6104cb58ce4f23453891651b (diff)
downloadpostgresql-ee6922112e9b3c02b995bd1d838c9a261f060133.tar.gz
postgresql-ee6922112e9b3c02b995bd1d838c9a261f060133.zip
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
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index d8c823f42b5..edbc151f33e 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -731,8 +731,8 @@ static const struct cachedesc cacheinfo[] = {
StatisticExtNameIndexId,
2,
{
- Anum_pg_statistic_ext_staname,
- Anum_pg_statistic_ext_stanamespace,
+ Anum_pg_statistic_ext_stxname,
+ Anum_pg_statistic_ext_stxnamespace,
0,
0
},