splitting htup.h

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: splitting htup.h
Date: 2012-06-16 00:40:03
Message-ID: 1339802779-sup-4502@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)alvh(dot)no-ip(dot)org>

Attachment Content-Type Size
tupbasics.patch application/octet-stream 20.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-06-16 01:06:21 Re: splitting htup.h
Previous Message Bruce Momjian 2012-06-16 00:09:36 Re: libpq compression