Re: Symbolic names for the values of typalign and typstorage

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-03-03T18:35:19Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 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.

OK, I'll look harder at doing it that way.

			regards, tom lane



Commits

  1. Introduce macros for typalign and typstorage constants.