aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-10-22 11:04:48 +0900
committerMichael Paquier <michael@paquier.xyz>2018-10-22 11:04:48 +0900
commit17f206fbc824d2b4b14480199ca9ff7dea417eda (patch)
treeb9094d05581dcd83ae0874731cd9a791ae72c394 /src/backend/utils/adt/json.c
parent31ff51adc855e3ffe8e3c20e479b8d1a4508feb8 (diff)
downloadpostgresql-17f206fbc824d2b4b14480199ca9ff7dea417eda.tar.gz
postgresql-17f206fbc824d2b4b14480199ca9ff7dea417eda.zip
Set pg_class.relhassubclass for partitioned indexes
Like for relations, switching this parameter is optimistic by turning it on each time a partitioned index gains a partition. So seeing this parameter set to true means that the partitioned index has or has had partitions. The flag cannot be reset yet for partitioned indexes, which is something not obvious anyway as partitioned relations exist to have partitions. This allows to track more conveniently partition trees for indexes, which will come in use with an upcoming patch helping in listing partition trees with an SQL-callable function. Author: Amit Langote Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/80306490-b5fc-ea34-4427-f29c52156052@lab.ntt.co.jp
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions