summaryrefslogtreecommitdiff
path: root/src/include/utils/rel.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-05-03 10:26:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-05-03 10:26:14 -0400
commitf884dca4959f64bd47e78102d1dadd2c77d49201 (patch)
treeb9e4ef2b23474981a8cd99d86d7f15e41e5f35f3 /src/include/utils/rel.h
parentf912d7dec29341d55315fccef8dc3fdfd068c6e3 (diff)
downloadpostgresql-f884dca4959f64bd47e78102d1dadd2c77d49201.tar.gz
Remove RelationSetIndexList().
In the wake of commit f912d7dec, RelationSetIndexList isn't used any more. It was always a horrid wart, so getting rid of it is very nice. We can also convert rd_indexvalid back to a plain boolean. Discussion: https://postgr.es/m/28926.1556664156@sss.pgh.pa.us
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r--src/include/utils/rel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index bddfcafe26..d7f33abce3 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -60,8 +60,8 @@ typedef struct RelationData
bool rd_islocaltemp; /* rel is a temp rel of this session */
bool rd_isnailed; /* rel is nailed in cache */
bool rd_isvalid; /* relcache entry is valid */
- char rd_indexvalid; /* state of rd_indexlist: 0 = not valid, 1 =
- * valid, 2 = temporarily forced */
+ bool rd_indexvalid; /* is rd_indexlist valid? (also rd_pkindex and
+ * rd_replidindex) */
bool rd_statvalid; /* is rd_statlist valid? */
/*