Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 466f5fd

Browse files
committed
More cleanups
1 parent 4312192 commit 466f5fd

File tree

3 files changed

+27
-53
lines changed

3 files changed

+27
-53
lines changed

src/backend/access/heap/heapam.c

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.7 1996/11/03 12:34:50 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.8 1996/11/05 09:53:01 scrappy Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -73,45 +73,29 @@
7373
*-------------------------------------------------------------------------
7474
*/
7575

76-
#include "postgres.h"
76+
#include <postgres.h>
7777

78-
#include "access/relscan.h"
79-
#include "storage/bufpage.h"
78+
#include <storage/bufpage.h>
79+
#include <access/heapam.h>
80+
#include <miscadmin.h>
81+
#include <utils/relcache.h>
82+
#include <access/valid.h>
83+
#include <access/hio.h>
84+
#include <storage/lmgr.h>
85+
#include <storage/smgr.h>
86+
#include <catalog/catalog.h>
87+
#include <access/transam.h>
88+
#include <access/xact.h>
89+
#include <utils/inval.h>
90+
#include <utils/memutils.h>
8091

81-
#include "access/heapam.h"
82-
83-
#include "miscadmin.h"
84-
85-
#include "utils/relcache.h"
8692

8793
#ifndef HAVE_MEMMOVE
88-
# include "regex/utils.h"
94+
# include <regex/utils.h>
8995
#else
9096
# include <string.h>
9197
#endif
9298

93-
#include "access/valid.h"
94-
95-
#include "storage/bufmgr.h"
96-
97-
#include "utils/palloc.h"
98-
99-
#include "access/hio.h"
100-
101-
#include "storage/lmgr.h"
102-
103-
#include "storage/smgr.h"
104-
105-
#include "catalog/catalog.h"
106-
107-
#include "access/transam.h"
108-
109-
#include "access/xact.h"
110-
111-
#include "utils/inval.h"
112-
113-
#include "utils/memutils.h"
114-
11599
static bool ImmediateInvalidation;
116100

117101
/* ----------------------------------------------------------------

src/backend/access/heap/hio.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Id: hio.c,v 1.8 1996/11/03 22:57:28 scrappy Exp $
10+
* $Id: hio.c,v 1.9 1996/11/05 09:53:02 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

15-
#include "postgres.h"
15+
#include <postgres.h>
1616

17-
#include "storage/bufpage.h"
18-
#include "access/relscan.h"
19-
#include "access/heapam.h"
20-
#include "storage/bufmgr.h"
21-
#include "utils/memutils.h"
17+
#include <storage/bufpage.h>
18+
#include <access/heapam.h>
19+
#include <storage/bufmgr.h>
20+
#include <utils/memutils.h>
2221

2322
/*
2423
* amputunique - place tuple at tid

src/backend/access/heap/stats.c

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,21 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.6 1996/11/03 12:34:55 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.7 1996/11/05 09:53:03 scrappy Exp $
1111
*
1212
* NOTES
1313
* initam should be moved someplace else.
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
1717

18-
#include <stdio.h>
18+
#include <postgres.h>
1919

20-
#include "postgres.h"
21-
22-
#include "access/relscan.h"
23-
24-
#include "access/heapam.h"
25-
26-
#include "nodes/memnodes.h"
27-
28-
#include "utils/mcxt.h"
29-
30-
#include "utils/palloc.h"
20+
#include <access/heapam.h>
21+
#include <utils/mcxt.h>
3122

3223
#ifndef HAVE_MEMMOVE
33-
# include "regex/utils.h"
24+
# include <regex/utils.h>
3425
#else
3526
# include <string.h>
3627
#endif

0 commit comments

Comments
 (0)