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

Commit b844dd3

Browse files
committed
More include file adjustments.
1 parent 66c15df commit b844dd3

File tree

15 files changed

+34
-21
lines changed

15 files changed

+34
-21
lines changed

src/backend/nodes/tidbitmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Copyright (c) 2003-2006, PostgreSQL Global Development Group
2424
*
2525
* IDENTIFICATION
26-
* $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.9 2006/03/05 15:58:28 momjian Exp $
26+
* $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.10 2006/07/13 17:47:01 momjian Exp $
2727
*
2828
*-------------------------------------------------------------------------
2929
*/
@@ -33,9 +33,9 @@
3333

3434
#include "access/htup.h"
3535
#include "nodes/tidbitmap.h"
36+
#include "storage/bufpage.h"
3637
#include "utils/hsearch.h"
3738

38-
3939
/*
4040
* The maximum number of tuples per page is not large (typically 256 with
4141
* 8K pages, or 1024 with 32K pages). So there's not much point in making

src/backend/optimizer/path/indxpath.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.209 2006/07/01 18:38:32 tgl Exp $
12+
* $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.210 2006/07/13 17:47:01 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -18,6 +18,7 @@
1818
#include <math.h>
1919

2020
#include "access/skey.h"
21+
#include "catalog/pg_am.h"
2122
#include "catalog/pg_opclass.h"
2223
#include "catalog/pg_operator.h"
2324
#include "catalog/pg_type.h"

src/backend/utils/time/tqual.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Portions Copyright (c) 1994, Regents of the University of California
3333
*
3434
* IDENTIFICATION
35-
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.94 2006/07/13 16:49:18 momjian Exp $
35+
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.95 2006/07/13 17:47:01 momjian Exp $
3636
*
3737
*-------------------------------------------------------------------------
3838
*/
@@ -43,6 +43,7 @@
4343
#include "access/subtrans.h"
4444
#include "access/transam.h"
4545
#include "access/xact.h"
46+
#include "storage/bufmgr.h"
4647
#include "storage/procarray.h"
4748
#include "utils/tqual.h"
4849

src/include/access/genam.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/genam.h,v 1.63 2006/07/13 16:49:18 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/access/genam.h,v 1.64 2006/07/13 17:47:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,7 +18,6 @@
1818
#include "access/sdir.h"
1919
#include "nodes/primnodes.h"
2020

21-
2221
/*
2322
* Struct for statistics returned by ambuild
2423
*/

src/include/access/hio.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/hio.h,v 1.31 2006/07/02 02:23:22 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/access/hio.h,v 1.32 2006/07/13 17:47:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef HIO_H
1515
#define HIO_H
1616

1717
#include "access/htup.h"
18+
#include "utils/rel.h"
19+
#include "storage/buf.h"
1820

1921
extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
2022
HeapTuple tuple);

src/include/access/htup.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/htup.h,v 1.84 2006/07/13 16:49:19 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/access/htup.h,v 1.85 2006/07/13 17:47:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef HTUP_H
1515
#define HTUP_H
1616

17-
#include "storage/bufpage.h"
1817
#include "storage/itemptr.h"
1918
#include "storage/relfilenode.h"
2019

src/include/access/relscan.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.46 2006/07/13 16:49:19 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.47 2006/07/13 17:47:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef RELSCAN_H
1515
#define RELSCAN_H
1616

1717
#include "access/skey.h"
18+
#include "storage/bufpage.h"
1819
#include "utils/rel.h"
1920
#include "utils/tqual.h"
2021

src/include/access/tuptoaster.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
88
*
9-
* $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.27 2006/07/13 16:49:19 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.28 2006/07/13 17:47:01 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef TUPTOASTER_H
1414
#define TUPTOASTER_H
1515

1616
#include "access/htup.h"
17-
17+
#include "storage/bufpage.h"
1818

1919
/*
2020
* This enables de-toasting of index entries. Needed until VACUUM is

src/include/catalog/indexing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/indexing.h,v 1.94 2006/03/05 15:58:54 momjian Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/indexing.h,v 1.95 2006/07/13 17:47:01 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515
#ifndef INDEXING_H
1616
#define INDEXING_H
1717

1818
#include "access/htup.h"
19-
19+
#include "utils/rel.h"
2020

2121
/*
2222
* The state object used by CatalogOpenIndexes and friends is actually the

src/include/commands/vacuum.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,21 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.65 2006/07/13 16:49:19 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.66 2006/07/13 17:47:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef VACUUM_H
1515
#define VACUUM_H
1616

1717
#include "access/htup.h"
18+
#include "access/tupdesc.h"
19+
#include "catalog/pg_attribute.h"
1820
#include "catalog/pg_statistic.h"
1921
#include "catalog/pg_type.h"
2022
#include "nodes/parsenodes.h"
2123
#include "storage/lock.h"
24+
#include "utils/rel.h"
2225

2326
/*----------
2427
* ANALYZE builds one of these structs for each attribute (column) that is

src/include/executor/hashjoin.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.39 2006/06/27 21:31:20 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.40 2006/07/13 17:47:02 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef HASHJOIN_H
1515
#define HASHJOIN_H
1616

1717
#include "access/htup.h"
18+
#include "fmgr.h"
1819
#include "storage/buffile.h"
1920

2021
/* ----------------------------------------------------------------

src/include/executor/tuptable.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/executor/tuptable.h,v 1.34 2006/07/13 16:49:19 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/executor/tuptable.h,v 1.35 2006/07/13 17:47:02 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef TUPTABLE_H
1515
#define TUPTABLE_H
1616

1717
#include "access/htup.h"
18-
18+
#include "access/tupdesc.h"
19+
#include "storage/buf.h"
1920

2021
/*----------
2122
* The executor stores tuples in a "tuple table" which is composed of

src/include/utils/catcache.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.59 2006/06/15 02:08:09 tgl Exp $
16+
* $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.60 2006/07/13 17:47:02 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -22,7 +22,9 @@
2222

2323
#include "access/htup.h"
2424
#include "access/skey.h"
25+
#include "access/tupdesc.h"
2526
#include "lib/dllist.h"
27+
#include "utils/rel.h"
2628

2729
/*
2830
* struct catctup: individual tuple in the cache.

src/include/utils/inval.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/utils/inval.h,v 1.38 2006/03/05 15:59:07 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/utils/inval.h,v 1.39 2006/07/13 17:47:02 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndef INVAL_H
1515
#define INVAL_H
1616

1717
#include "access/htup.h"
18+
#include "utils/rel.h"
1819

1920

2021
typedef void (*CacheCallbackFunction) (Datum arg, Oid relid);

src/include/utils/lsyscache.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/utils/lsyscache.h,v 1.104 2006/04/05 22:11:57 tgl Exp $
9+
* $PostgreSQL: pgsql/src/include/utils/lsyscache.h,v 1.105 2006/07/13 17:47:02 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef LSYSCACHE_H
1414
#define LSYSCACHE_H
1515

16+
#include "access/attnum.h"
1617
#include "access/htup.h"
18+
#include "nodes/pg_list.h"
1719

1820
/* I/O function selector for get_type_io_data */
1921
typedef enum IOFuncSelector

0 commit comments

Comments
 (0)