Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3516eda

Browse files
committed
Okay, following Bryan's (and others) suggestions...cleaning up the
include files properly...yet, slowly...
1 parentf44acab commit3516eda

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

‎src/include/access/strat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: strat.h,v 1.2 1996/10/19 04:05:44 scrappy Exp $
10+
* $Id: strat.h,v 1.3 1996/11/01 09:30:41 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#ifndefSTRAT_H
1515
#defineSTRAT_H
1616

17-
#include"access/skey.h"
17+
#include"access/skey.h"
1818

1919
typedefuint16StrategyNumber;
2020

‎src/include/access/transam.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: transam.h,v 1.2 1996/10/23 07:41:31 scrappy Exp $
9+
* $Id: transam.h,v 1.3 1996/11/01 09:30:42 scrappy Exp $
1010
*
1111
* NOTES
1212
*Transaction System Version 101 now support proper oid
@@ -17,9 +17,8 @@
1717
#ifndefTRANSAM_H
1818
#defineTRANSAM_H
1919

20-
#include"utils/nabstime.h"
21-
#include"utils/rel.h"
2220
#include"storage/bufmgr.h"
21+
#include"utils/nabstime.h"
2322

2423
/* ----------------
2524
*transaction system version id

‎src/include/catalog/pg_class.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_class.h,v 1.2 1996/10/31 09:47:21 scrappy Exp $
10+
* $Id: pg_class.h,v 1.3 1996/11/01 09:30:46 scrappy Exp $
1111
*
1212
* NOTES
1313
* ``pg_relation'' is being replaced by ``pg_class''. currently
@@ -29,7 +29,6 @@
2929
*can be read by both genbki.sh and the C compiler.
3030
* ----------------
3131
*/
32-
#include"utils/nabstime.h"
3332

3433
/* ----------------
3534
*pg_class definition. cpp turns this into

‎src/include/rewrite/prs2lock.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: prs2lock.h,v 1.2 1996/10/19 04:25:53 scrappy Exp $
8+
* $Id: prs2lock.h,v 1.3 1996/11/01 09:30:54 scrappy Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
1212
#ifndefPRS2LOCK_H
1313
#definePRS2LOCK_H
1414

15-
#include"nodes/nodes.h"
15+
#include"access/attnum.h"
16+
#include"nodes/pg_list.h"
1617

1718
/*
1819
* RewriteRule -

‎src/include/storage/bufmgr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: bufmgr.h,v 1.4 1996/10/26 04:15:05 scrappy Exp $
9+
* $Id: bufmgr.h,v 1.5 1996/11/01 09:31:05 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -18,6 +18,7 @@
1818
#include"storage/ipc.h"
1919
#include"storage/buf.h"
2020
#include"utils/rel.h"
21+
#include"storage/block.h"
2122

2223
/*
2324
* the maximum size of a disk block for any possible installation.

‎src/include/storage/bufpage.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: bufpage.h,v 1.5 1996/10/23 07:42:07 scrappy Exp $
9+
* $Id: bufpage.h,v 1.6 1996/11/01 09:31:09 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefBUFPAGE_H
1414
#defineBUFPAGE_H
1515

16-
#include"storage/itemid.h"
1716
#include"storage/item.h"
18-
#include"storage/buf.h"
17+
#include"storage/off.h"
1918
#include"storage/page.h"
20-
#include"storage/off.h"
19+
#include"storage/buf.h"
20+
#include"storage/itemid.h"
2121

2222
/*
2323
* a postgres disk page is an abstraction layered on top of a postgres

‎src/include/storage/fd.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: fd.h,v 1.2 1996/10/31 09:49:45 scrappy Exp $
9+
* $Id: fd.h,v 1.3 1996/11/01 09:31:10 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -53,8 +53,6 @@
5353
#endif/* SEEK_SET */
5454
#endif/* WIN32 */
5555

56-
#include"storage/block.h"
57-
5856
typedefchar*FileName;
5957

6058
typedefintFile;

‎src/include/storage/ipc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: ipc.h,v 1.7 1996/11/0103:36:16 momjian Exp $
9+
* $Id: ipc.h,v 1.8 1996/11/0109:31:12 scrappy Exp $
1010
*
1111
* NOTES
1212
* This file is very architecture-specific. This stuff should actually
@@ -21,6 +21,8 @@
2121
#define_IPC_
2222
#endif
2323

24+
#include<sys/types.h>
25+
2426
/*
2527
* Many architectures have support for user-level spinlocks (i.e., an
2628
* atomic test-and-set instruction). However, we have only written

‎src/include/utils/rel.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rel.h,v 1.4 1996/10/24 07:55:54 scrappy Exp $
9+
* $Id: rel.h,v 1.5 1996/11/01 09:31:17 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefREL_H
1414
#defineREL_H
1515

16+
#include"access/strat.h"
17+
#include"rewrite/prs2lock.h"
1618
#include"access/tupdesc.h"
17-
#include"storage/fd.h"
18-
#include"catalog/pg_am.h"
1919
#include"catalog/pg_class.h"
20-
#include"rewrite/prs2lock.h"
21-
#include"access/strat.h"
20+
#include"catalog/pg_am.h"
21+
#include"storage/fd.h"
2222

2323
typedefstructRelationData {
2424
Filerd_fd;/* open file descriptor */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp