splitting htup.h - Mailing list pgsql-hackers

From Alvaro Herrera
Subject splitting htup.h
Date
Msg-id 1339802779-sup-4502@alvh.no-ip.org
Whole thread Raw
Responses Re: splitting htup.h  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

This patch splits htup.h in two pieces -- the first one (tupbasics.h;
not wedded to the name) does not include many other headers and is just
enough to have other parts of the code create tuples and pass them
around, to be used by most other headers.  The other one (which keeps
the name htup.h) contains internal tuple stuff (struct declarations
etc).

Before patch, htup.h is directly or indirectly included by 364 .c files
in src/backend; after patch, that's reduced to 299 files (that's 65
files less to compile if you modify the header).

--
Álvaro Herrera <alvherre@alvh.no-ip.org>

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpq compression
Next
From: Tom Lane
Date:
Subject: Re: splitting htup.h