Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cf1b79

Browse files
committed
Cleanup of /include #include's, for 6.6 only.
1 parent ad49488 commit 0cf1b79

Some content is hidden

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

71 files changed

+143
-109
lines changed

src/backend/access/hash/hashscan.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.17 1999/02/13 23:14:20 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.18 1999/07/14 01:19:36 momjian Exp $
1111
*
1212
* NOTES
1313
* Because we can be doing an index scan on a relation while we
@@ -30,6 +30,7 @@
3030
#include <postgres.h>
3131

3232
#include <access/hash.h>
33+
#include <utils/mcxt.h>
3334

3435
static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
3536
static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);

src/backend/access/hash/hashutil.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.15 1999/02/13 23:14:21 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.16 1999/07/14 01:19:36 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,6 +18,7 @@
1818
#include <fmgr.h>
1919
#include <utils/memutils.h>
2020
#include <access/iqual.h>
21+
#include <utils/mcxt.h>
2122

2223
#ifndef HAVE_MEMMOVE
2324
#include <regex/utils.h>

src/backend/access/heap/heapam.c

Lines changed: 3 additions & 1 deletion
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.46 1999/07/09 04:51:27 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.47 1999/07/14 01:19:37 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -88,6 +88,8 @@
8888
#include <access/xact.h>
8989
#include <utils/inval.h>
9090
#include <utils/memutils.h>
91+
#include <utils/builtins.h>
92+
#include <utils/mcxt.h>
9193

9294
#ifndef HAVE_MEMMOVE
9395
#include <regex/utils.h>

src/backend/access/index/indexam.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.30 1999/02/13 23:14:30 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.31 1999/07/14 01:19:38 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
* index_open - open an index relation by relationId
@@ -70,6 +70,7 @@
7070
#include <fmgr.h>
7171
#include <storage/lmgr.h>
7272
#include <access/heapam.h>
73+
#include <utils/mcxt.h>
7374

7475
/* ----------------
7576
* undefine macros we aren't going to use that would otherwise

src/backend/access/nbtree/nbtinsert.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.42 1999/05/25 22:04:11 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.43 1999/07/14 01:19:39 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -20,6 +20,7 @@
2020
#include <access/heapam.h>
2121
#include <access/xact.h>
2222
#include <fmgr.h>
23+
#include <utils/mcxt.h>
2324

2425
#ifndef HAVE_MEMMOVE
2526
#include <regex/utils.h>

src/backend/access/nbtree/nbtpage.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.24 1999/06/07 14:28:22 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.25 1999/07/14 01:19:41 momjian Exp $
1212
*
1313
* NOTES
1414
* Postgres btree pages look like ordinary relation pages. The opaque
@@ -28,6 +28,7 @@
2828
#include <access/nbtree.h>
2929
#include <miscadmin.h>
3030
#include <storage/lmgr.h>
31+
#include <utils/mcxt.h>
3132

3233
#ifndef HAVE_MEMMOVE
3334
#include <regex/utils.h>

src/backend/access/nbtree/nbtscan.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.23 1999/05/25 22:04:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.24 1999/07/14 01:19:41 momjian Exp $
1111
*
1212
*
1313
* NOTES
@@ -31,6 +31,7 @@
3131

3232
#include <storage/bufpage.h>
3333
#include <access/nbtree.h>
34+
#include <utils/mcxt.h>
3435

3536
typedef struct BTScanListData
3637
{

src/backend/access/nbtree/nbtsearch.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.45 1999/05/25 18:20:30 vadim Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.46 1999/07/14 01:19:41 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,6 +19,7 @@
1919
#include <storage/bufpage.h>
2020
#include <access/nbtree.h>
2121
#include <catalog/pg_proc.h>
22+
#include <utils/mcxt.h>
2223

2324
#ifndef HAVE_MEMMOVE
2425
#include <regex/utils.h>

src/backend/access/nbtree/nbtsort.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*
77
* IDENTIFICATION
8-
* $Id: nbtsort.c,v 1.40 1999/05/25 18:20:31 vadim Exp $
8+
* $Id: nbtsort.c,v 1.41 1999/07/14 01:19:42 momjian Exp $
99
*
1010
* NOTES
1111
*
@@ -54,6 +54,7 @@
5454
#include "access/nbtree.h"
5555
#include "storage/bufpage.h"
5656
#include "utils/memutils.h"
57+
#include "utils/mcxt.h"
5758

5859
#ifndef HAVE_MEMMOVE
5960
#include <regex/utils.h>

src/backend/access/nbtree/nbtutils.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.27 1999/05/25 18:20:31 vadim Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtutils.c,v 1.28 1999/07/14 01:19:43 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -21,6 +21,7 @@
2121
#include "executor/execdebug.h"
2222
#include "fmgr.h"
2323
#include "storage/bufpage.h"
24+
#include "utils/mcxt.h"
2425

2526
extern int NIndexTupleProcessed;
2627

0 commit comments

Comments
 (0)