Content-Length: 1627433 | pFad | http://github.com/tonybelloni/postgres/commit/f8c4d7db6033802ab682f95d5548a9ea6c33cec6

AA Restructure some header files a bit, in particular heapam.h, by remov… · tonybelloni/postgres@f8c4d7d · GitHub
Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f8c4d7d

Browse files
committedMay 12, 2008
Restructure some header files a bit, in particular heapam.h, by removing some
unnecessary #include lines in it. Also, move some tuple routine prototypes and macros to htup.h, which allows removal of heapam.h inclusion from some .c files. For this to work, a new header file access/sysattr.h needed to be created, initially containing attribute numbers of system columns, for pg_dump usage. While at it, make contrib ltree, intarray and hstore header files more consistent with our header style.
1 parent a86a9bf commit f8c4d7d

File tree

153 files changed

+541
-385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+541
-385
lines changed
 

‎contrib/pageinspect/rawpage.c

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@
88
* Copyright (c) 2007-2008, PostgreSQL Global Development Group
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/contrib/pageinspect/rawpage.c,v 1.5 2008/03/25 22:42:41 tgl Exp $
11+
* $PostgreSQL: pgsql/contrib/pageinspect/rawpage.c,v 1.6 2008/05/12 00:00:43 alvherre Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include "postgres.h"
1717

18-
#include "fmgr.h"
19-
#include "funcapi.h"
2018
#include "access/heapam.h"
2119
#include "access/transam.h"
2220
#include "catalog/namespace.h"
2321
#include "catalog/pg_type.h"
24-
#include "utils/builtins.h"
22+
#include "fmgr.h"
23+
#include "funcapi.h"
2524
#include "miscadmin.h"
25+
#include "storage/bufmgr.h"
26+
#include "utils/builtins.h"
2627

2728
PG_MODULE_MAGIC;
2829

‎contrib/pg_freespacemap/pg_freespacemap.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
* pg_freespacemap.c
44
* display some contents of the free space relation and page maps.
55
*
6-
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.9 2006/10/19 18:32:46 tgl Exp $
6+
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.10 2008/05/12 00:00:43 alvherre Exp $
77
*-------------------------------------------------------------------------
88
*/
99
#include "postgres.h"
1010

11-
#include "funcapi.h"
12-
#include "access/heapam.h"
11+
#include "access/htup.h"
1312
#include "catalog/pg_type.h"
13+
#include "funcapi.h"
1414
#include "storage/freespace.h"
15+
#include "storage/lmgr.h"
1516

1617

1718
#define NUM_FREESPACE_PAGES_ELEM 5
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tonybelloni/postgres/commit/f8c4d7db6033802ab682f95d5548a9ea6c33cec6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy