File tree 15 files changed +34
-21
lines changed 15 files changed +34
-21
lines changed Original file line number Diff line number Diff line change 23
23
* Copyright (c) 2003-2006, PostgreSQL Global Development Group
24
24
*
25
25
* 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 $
27
27
*
28
28
*-------------------------------------------------------------------------
29
29
*/
33
33
34
34
#include "access/htup.h"
35
35
#include "nodes/tidbitmap.h"
36
+ #include "storage/bufpage.h"
36
37
#include "utils/hsearch.h"
37
38
38
-
39
39
/*
40
40
* The maximum number of tuples per page is not large (typically 256 with
41
41
* 8K pages, or 1024 with 32K pages). So there's not much point in making
Original file line number Diff line number Diff line change 9
9
*
10
10
*
11
11
* 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 $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
18
18
#include <math.h>
19
19
20
20
#include "access/skey.h"
21
+ #include "catalog/pg_am.h"
21
22
#include "catalog/pg_opclass.h"
22
23
#include "catalog/pg_operator.h"
23
24
#include "catalog/pg_type.h"
Original file line number Diff line number Diff line change 32
32
* Portions Copyright (c) 1994, Regents of the University of California
33
33
*
34
34
* 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 $
36
36
*
37
37
*-------------------------------------------------------------------------
38
38
*/
43
43
#include "access/subtrans.h"
44
44
#include "access/transam.h"
45
45
#include "access/xact.h"
46
+ #include "storage/bufmgr.h"
46
47
#include "storage/procarray.h"
47
48
#include "utils/tqual.h"
48
49
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
18
18
#include "access/sdir.h"
19
19
#include "nodes/primnodes.h"
20
20
21
-
22
21
/*
23
22
* Struct for statistics returned by ambuild
24
23
*/
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef HIO_H
15
15
#define HIO_H
16
16
17
17
#include "access/htup.h"
18
+ #include "utils/rel.h"
19
+ #include "storage/buf.h"
18
20
19
21
extern void RelationPutHeapTuple (Relation relation , Buffer buffer ,
20
22
HeapTuple tuple );
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef HTUP_H
15
15
#define HTUP_H
16
16
17
- #include "storage/bufpage.h"
18
17
#include "storage/itemptr.h"
19
18
#include "storage/relfilenode.h"
20
19
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef RELSCAN_H
15
15
#define RELSCAN_H
16
16
17
17
#include "access/skey.h"
18
+ #include "storage/bufpage.h"
18
19
#include "utils/rel.h"
19
20
#include "utils/tqual.h"
20
21
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
8
8
*
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 $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
13
13
#ifndef TUPTOASTER_H
14
14
#define TUPTOASTER_H
15
15
16
16
#include "access/htup.h"
17
-
17
+ #include "storage/bufpage.h"
18
18
19
19
/*
20
20
* This enables de-toasting of index entries. Needed until VACUUM is
Original file line number Diff line number Diff line change 8
8
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
9
9
* Portions Copyright (c) 1994, Regents of the University of California
10
10
*
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 $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
15
15
#ifndef INDEXING_H
16
16
#define INDEXING_H
17
17
18
18
#include "access/htup.h"
19
-
19
+ #include "utils/rel.h"
20
20
21
21
/*
22
22
* The state object used by CatalogOpenIndexes and friends is actually the
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef VACUUM_H
15
15
#define VACUUM_H
16
16
17
17
#include "access/htup.h"
18
+ #include "access/tupdesc.h"
19
+ #include "catalog/pg_attribute.h"
18
20
#include "catalog/pg_statistic.h"
19
21
#include "catalog/pg_type.h"
20
22
#include "nodes/parsenodes.h"
21
23
#include "storage/lock.h"
24
+ #include "utils/rel.h"
22
25
23
26
/*----------
24
27
* ANALYZE builds one of these structs for each attribute (column) that is
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef HASHJOIN_H
15
15
#define HASHJOIN_H
16
16
17
17
#include "access/htup.h"
18
+ #include "fmgr.h"
18
19
#include "storage/buffile.h"
19
20
20
21
/* ----------------------------------------------------------------
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef TUPTABLE_H
15
15
#define TUPTABLE_H
16
16
17
17
#include "access/htup.h"
18
-
18
+ #include "access/tupdesc.h"
19
+ #include "storage/buf.h"
19
20
20
21
/*----------
21
22
* The executor stores tuples in a "tuple table" which is composed of
Original file line number Diff line number Diff line change 13
13
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
14
14
* Portions Copyright (c) 1994, Regents of the University of California
15
15
*
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 $
17
17
*
18
18
*-------------------------------------------------------------------------
19
19
*/
22
22
23
23
#include "access/htup.h"
24
24
#include "access/skey.h"
25
+ #include "access/tupdesc.h"
25
26
#include "lib/dllist.h"
27
+ #include "utils/rel.h"
26
28
27
29
/*
28
30
* struct catctup: individual tuple in the cache.
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef INVAL_H
15
15
#define INVAL_H
16
16
17
17
#include "access/htup.h"
18
+ #include "utils/rel.h"
18
19
19
20
20
21
typedef void (* CacheCallbackFunction ) (Datum arg , Oid relid );
Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
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 $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
13
13
#ifndef LSYSCACHE_H
14
14
#define LSYSCACHE_H
15
15
16
+ #include "access/attnum.h"
16
17
#include "access/htup.h"
18
+ #include "nodes/pg_list.h"
17
19
18
20
/* I/O function selector for get_type_io_data */
19
21
typedef enum IOFuncSelector
You can’t perform that action at this time.
0 commit comments