partial header cleanup

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: partial header cleanup
Date: 2008-05-30 16:16:09
Message-ID: 48402849.2050809@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This replace xlog.h with xlogdefs.h in bufpage.h. All other changes are
forgotten include somewhere. It reduce e.g. bloat to half in itup.h. But, There
are still unresolved problems. htup should include bufpage.h, because it needs
PageHeader size, but there is still unnecessary bufmgr.h include in bufpage
which generates bloat.

See itup.h bloating:

http://doxygen.postgresql.org/itup_8h.html

this patch reduce xlog side. But there still about 18 unnecessary includes.

Zdenek

PS: Thanks to Stefan K. He enabled graphs.

Attachment Content-Type Size
header.patch text/x-patch 4.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Jeff Davis 2008-06-01 00:45:14 synchronized scan: reset state at end of scan
Previous Message Teodor Sigaev 2008-05-30 10:08:05 GIN improvements