Convert the list of syscache names from a series of #define's into an enum,
authorTom Lane
Wed, 7 May 2008 01:04:49 +0000 (01:04 +0000)
committerTom Lane
Wed, 7 May 2008 01:04:49 +0000 (01:04 +0000)
commit4136e1d06afc24b56920f09f0f94232dc2458ecf
tree70d6b28dfc394a9a93c103080c494f353aed8daf
parent4222d7f036ea5d3c8164c79503a8bae68180ad9e
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