pgsql: Convert the list of syscache names from a series of #define's

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Convert the list of syscache names from a series of #define's
Дата
Msg-id 20080507010449.E98C77559DA@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/include/utils:
        syscache.h (r1.71 -> r1.72)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/syscache.h?r1=1.71&r2=1.72)

В списке pgsql-committers по дате отправления:

Предыдущее
От: gleu@pgfoundry.org (User Gleu)
Дата:
Сообщение: pgsnap - pgsnap: Add Google Analytics to pgsnap website.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: The CONSTROID syscache should show conrelid as a relation OID