catalog files simplification

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
catalog files simplification
Дата
Msg-id
b6ba8bc1-7c7d-3939-62bd-f99aeac5179d@2ndquadrant.com
Список
Дерево обсуждения
catalog files simplification Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: catalog files simplification Robert Haas <robertmhaas@gmail.com>
Re: catalog files simplification Tom Lane <tgl@sss.pgh.pa.us>
Re: catalog files simplification Tom Lane <tgl@sss.pgh.pa.us>
Re: catalog files simplification Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
The current catalog files all do this:

    CATALOG(pg_aggregate,2600,AggregateRelationId)
    {
        ...
    } FormData_pg_aggregate;

    typedef FormData_pg_aggregate *Form_pg_aggregate;

The bottom part of this seems redundant.  With the attached patch, we
can generate that automatically, so this becomes just

    CATALOG(pg_aggregate,2600,AggregateRelationId)
    {
        ...
    };

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Konstantin Knizhnik
Дата:
От: Amit Khandekar
Дата:
FAQ