catalog files simplification

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: catalog files simplification
Date: 2019-06-12 11:52:40
Message-ID: b6ba8bc1-7c7d-3939-62bd-f99aeac5179d@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Catalog-files-simplification.patch text/plain 43.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Khandekar 2019-06-12 12:00:02 Re: Minimal logical decoding on standbys
Previous Message Konstantin Knizhnik 2019-06-12 11:36:08 Re: Adaptive query optimization