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

Commit3406901

Browse files
committed
Move some system includes into c.h, and remove duplicates.
1 parentc62b8a6 commit3406901

File tree

262 files changed

+265
-883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+265
-883
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.56 1999/07/16 04:58:21 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.57 1999/07/17 20:16:35 momjian Exp $
1212
*
1313
* NOTES
1414
* The old interface functions have been converted to macros
@@ -22,12 +22,6 @@
2222
#include"access/heapam.h"
2323
#include"catalog/pg_type.h"
2424

25-
#ifndefHAVE_MEMMOVE
26-
#include<regex/utils.h>
27-
#else
28-
#include<string.h>
29-
#endif
30-
3125
/* Used by heap_getattr() macro, for speed */
3226
longheap_sysoffset[]= {
3327
/* Only the first one is pass-by-ref, and is handled specially in the macro */

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

Lines changed: 1 addition & 6 deletions
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.36 1999/07/16 04:58:22 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.37 1999/07/17 20:16:35 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -19,11 +19,6 @@
1919
#include"access/itup.h"
2020
#include"catalog/pg_type.h"
2121

22-
#ifndefHAVE_MEMMOVE
23-
#include<regex/utils.h>
24-
#else
25-
#include<string.h>
26-
#endif
2722

2823
/* ----------------------------------------------------------------
2924
* index_ tuple interface routines

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.48 1999/07/15 22:38:32 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.49 1999/07/17 20:16:35 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

16-
#include<string.h>
1716

1817
#include"postgres.h"
1918

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

Lines changed: 1 addition & 8 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.53 1999/07/16 04:58:22 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.54 1999/07/17 20:16:36 momjian Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -16,8 +16,6 @@
1616
*-------------------------------------------------------------------------
1717
*/
1818

19-
#include<stdio.h>
20-
2119
#include"postgres.h"
2220

2321
#include"catalog/pg_type.h"
@@ -26,11 +24,6 @@
2624
#include"utils/builtins.h"
2725
#include"utils/syscache.h"
2826

29-
#ifndefHAVE_MEMMOVE
30-
#include<regex/utils.h>
31-
#else
32-
#include<string.h>
33-
#endif
3427

3528
/* ----------------------------------------------------------------
3629
*CreateTemplateTupleDesc

‎src/backend/access/gist/gist.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
#include"executor/executor.h"
2323
#include"utils/syscache.h"
2424

25-
#ifndefHAVE_MEMMOVE
26-
#include<regex/utils.h>
27-
#else
28-
#include<string.h>
29-
#endif
3025

3126
/* non-export function prototypes */
3227
staticInsertIndexResultgistdoinsert(Relationr,IndexTupleitup,

‎src/backend/access/gist/gistget.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
#include"access/gist.h"
1717
#include"executor/execdebug.h"
1818

19-
#ifndefHAVE_MEMMOVE
20-
#include<regex/utils.h>
21-
#else
22-
#include<string.h>
23-
#endif
2419

2520

2621
staticOffsetNumbergistfindnext(IndexScanDescs,Pagep,OffsetNumbern,

‎src/backend/access/gist/gistscan.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
#include"access/gist.h"
1717
#include"access/gistscan.h"
1818

19-
#ifndefHAVE_MEMMOVE
20-
#include<regex/utils.h>
21-
#else
22-
#include<string.h>
23-
#endif
2419

2520
/* routines defined and used here */
2621
staticvoidgistregscan(IndexScanDescs);

‎src/backend/access/hash/hash.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.29 1999/07/16 04:58:24 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.30 1999/07/17 20:16:38 momjian Exp $
1111
*
1212
* NOTES
1313
* This file contains only the public interface routines.
@@ -24,11 +24,6 @@
2424
#include"executor/executor.h"
2525
#include"miscadmin.h"
2626

27-
#ifndefHAVE_MEMMOVE
28-
#include<regex/utils.h>
29-
#else
30-
#include<string.h>
31-
#endif
3227

3328
boolBuildingHash= false;
3429

‎src/backend/access/hash/hashovfl.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.23 1999/07/16 04:58:25 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.24 1999/07/17 20:16:38 momjian Exp $
1111
*
1212
* NOTES
1313
* Overflow pages look like ordinary relation pages.
@@ -18,11 +18,6 @@
1818

1919
#include"access/hash.h"
2020

21-
#ifndefHAVE_MEMMOVE
22-
#include<regex/utils.h>
23-
#else
24-
#include<string.h>
25-
#endif
2621

2722
staticOverflowPageAddress_hash_getovfladdr(Relationrel,Buffer*metabufp);
2823
staticuint32_hash_firstfreebit(uint32map);

‎src/backend/access/hash/hashpage.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.23 1999/07/16 04:58:25 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.24 1999/07/17 20:16:39 momjian Exp $
1111
*
1212
* NOTES
1313
* Postgres hash pages look like ordinary relation pages. The opaque
@@ -29,11 +29,6 @@
2929
#include"access/hash.h"
3030
#include"miscadmin.h"
3131

32-
#ifndefHAVE_MEMMOVE
33-
#include<regex/utils.h>
34-
#else
35-
#include<string.h>
36-
#endif
3732

3833
staticvoid_hash_setpagelock(Relationrel,BlockNumberblkno,intaccess);
3934
staticvoid_hash_unsetpagelock(Relationrel,BlockNumberblkno,intaccess);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp