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

Commitdd71c36

Browse files
committed
That pretty much totally cleans up the includes files here.
1 parent5a58dab commitdd71c36

File tree

4 files changed

+16
-25
lines changed

4 files changed

+16
-25
lines changed

‎src/backend/access/common/indextuple.c

Lines changed: 6 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/common/indextuple.c,v 1.9 1996/11/0308:16:47 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.10 1996/11/0310:57:21 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -22,6 +22,11 @@
2222
#include"access/tupmacs.h"
2323
#include"utils/palloc.h"
2424

25+
#ifndefHAVE_MEMMOVE
26+
# include"regex/utils.h"
27+
#else
28+
# include<string.h>
29+
#endif
2530

2631
staticSizeIndexInfoFindDataOffset(unsigned shortt_info);
2732

‎src/backend/access/common/printtup.c

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,18 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.8 1996/11/0308:16:49 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.9 1996/11/0310:57:22 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include"postgres.h"
1717

18+
#include"fmgr.h"
1819
#include"access/heaptuple.h"
19-
#include"utils/rel.h"
2020
#include"utils/palloc.h"
21-
22-
#include"fmgr.h"
23-
#include"libpq/pqcomm.h"
24-
25-
#include"libpq/libpq.h"
26-
2721
#include"catalog/pg_type.h"
22+
#include"libpq/libpq.h"
2823
#include"utils/syscache.h"
2924

3025
/* ----------------------------------------------------------------

‎src/backend/access/common/scankey.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.7 1996/11/0308:16:50 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.8 1996/11/0310:57:23 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include"postgres.h"
1616

1717
#include"fmgr.h"
18-
#include"access/attnum.h"
1918
#include"access/skey.h"
2019

2120
/*

‎src/backend/access/common/tupdesc.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/common/tupdesc.c,v 1.8 1996/11/0308:16:51 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.9 1996/11/0310:57:24 scrappy Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -18,25 +18,17 @@
1818

1919
#include"postgres.h"
2020

21-
#include"access/htup.h"
22-
#include"utils/rel.h"
23-
21+
#include"parser/catalog_utils.h"
22+
#include"nodes/parsenodes.h"
23+
#include"utils/builtins.h"
2424
#include"utils/fcache.h"
25-
#include"utils/geo-decls.h"
2625
#include"utils/palloc.h"
27-
28-
#include"nodes/primnodes.h"
29-
30-
#include"catalog/pg_type.h"
31-
#include"utils/builtins.h"
32-
#include"utils/syscache.h"
3326
#include"utils/tqual.h"
3427

35-
#include"nodes/parsenodes.h"
36-
#include"parser/catalog_utils.h"
37-
3828
#ifndefHAVE_MEMMOVE
3929
# include"regex/utils.h"
30+
#else
31+
# include<string.h>
4032
#endif
4133

4234
/* ----------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp