Convert the list of syscache names from a series of #define's into an enum,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 May 2008 01:04:49 +0000 (01:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 May 2008 01:04:49 +0000 (01:04 +0000)
commite713a7e16a2e284e62b8e3f3fc791b0867370773
treeefd98189ab11a2c7a2ed76f570b4cac87b383ef4
parent6a2ab2cf669b0bbe0292b6e51792c040b6ebd962
Convert the list of syscache names from a series of #define's into an enum,
to avoid the pain of manually renumbering them anytime we insert another
name in alphabetical order.  An excellent idea from Alex Hunsaker and
NikhilS' inherited-constraints patch --- whether or not the rest of that
gets in, this should.  Dunno why we never thought of it before.
src/include/utils/syscache.h