Re: Symbolic names for the values of typalign and typstorage

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-03-03T18:29:26Z
Lists: pgsql-hackers
On 2020-Mar-03, Tom Lane wrote:

> I realized that a possible compromise position is to have tupmacs.h
> include pg_type_d.h, not the whole pg_type.h header, thus dodging the
> indirect inclusions.  That still brings in the type-OID macros, but
> it's a lot less header scope creep than I was first fearing.

WFM.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Introduce macros for typalign and typstorage constants.