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

Commit4fa90e3

Browse files
committed
More cleanups
1 parent466f5fd commit4fa90e3

File tree

4 files changed

+28
-52
lines changed

4 files changed

+28
-52
lines changed

‎src/backend/access/index/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
# Makefile for access/index
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/access/index/Makefile,v 1.2 1996/10/31 08:32:20 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/access/index/Makefile,v 1.3 1996/11/05 10:02:01 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../../..
1212
include ../../../Makefile.global
1313

14-
INCLUDE_OPT = -I../../port/$(PORTNAME)\
14+
INCLUDE_OPT = -I../..\
15+
-I../../port/$(PORTNAME)\
1516
-I../../../include
1617

1718
CFLAGS+=$(INCLUDE_OPT)

‎src/backend/access/index/genam.c

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.5 1996/11/03 12:35:02 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.6 1996/11/05 10:02:02 scrappy Exp $
1111
*
1212
* NOTES
1313
* many of the old access method routines have been turned into
@@ -44,26 +44,18 @@
4444
* ----------------------------------------------------------------
4545
*/
4646

47-
#include"postgres.h"
47+
#include<postgres.h>
4848

49-
#include"access/relscan.h"
50-
#include"access/itup.h"
51-
#include"access/sdir.h"
52-
53-
#include"utils/catcache.h"
54-
55-
#include"access/genam.h"
56-
57-
#include"utils/palloc.h"
49+
#include<utils/catcache.h>
50+
#include<access/genam.h>
51+
#include<storage/bufmgr.h>
5852

5953
#ifndefHAVE_MEMMOVE
60-
# include"regex/utils.h"
54+
# include<regex/utils.h>
6155
#else
6256
# include<string.h>
6357
#endif
6458

65-
#include"storage/bufmgr.h"
66-
6759
/* ----------------------------------------------------------------
6860
*general access method routines
6961
*

‎src/backend/access/index/indexam.c

Lines changed: 7 additions & 13 deletions
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.6 1996/11/03 22:57:36 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.7 1996/11/05 10:02:03 scrappy Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
*index_open - open an index relation by relationId
@@ -63,19 +63,13 @@
6363
*-------------------------------------------------------------------------
6464
*/
6565

66-
#include"postgres.h"
66+
#include<postgres.h>
6767

68-
#include"access/genam.h"
69-
70-
#include"utils/relcache.h"
71-
72-
#include"fmgr.h"
73-
74-
#include"utils/palloc.h"
75-
76-
#include"storage/lmgr.h"
77-
78-
#include"access/heaptuple.h"
68+
#include<access/genam.h>
69+
#include<utils/relcache.h>
70+
#include<fmgr.h>
71+
#include<storage/lmgr.h>
72+
#include<access/heaptuple.h>
7973

8074
/* ----------------
8175
* undefine macros we aren't going to use that would otherwise

‎src/backend/access/index/istrat.c

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,23 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.6 1996/11/03 22:57:40 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.7 1996/11/05 10:02:06 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

16-
#include"postgres.h"
16+
#include<postgres.h>
1717

18-
#include"access/relscan.h"
19-
20-
#include"catalog/pg_proc.h"
21-
22-
#include"catalog/pg_operator.h"
23-
24-
#include"catalog/catname.h"
25-
26-
#include"catalog/pg_index.h"
27-
28-
#include"catalog/pg_amop.h"
29-
30-
#include"catalog/pg_amproc.h"
31-
32-
#include"utils/memutils.h"/* could have been access/itup.h */
33-
34-
#include"access/heapam.h"
35-
36-
#include"access/istrat.h"
37-
38-
#include"fmgr.h"
18+
#include<catalog/pg_proc.h>
19+
#include<catalog/pg_operator.h>
20+
#include<catalog/catname.h>
21+
#include<catalog/pg_index.h>
22+
#include<catalog/pg_amop.h>
23+
#include<catalog/pg_amproc.h>
24+
#include<utils/memutils.h>/* could have been access/itup.h */
25+
#include<access/heapam.h>
26+
#include<access/istrat.h>
27+
#include<fmgr.h>
3928

4029
/* ----------------------------------------------------------------
4130
* misc strategy support routines

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp