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

Commit21badba

Browse files
committed
Replace direct inclusions of c.h with inclusion of postgres.h,
to ensure that config.h is included as well.
1 parent4e34686 commit21badba

File tree

10 files changed

+18
-19
lines changed

10 files changed

+18
-19
lines changed

‎contrib/fulltextindex/fti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
#include"postgres.h"
12
#include"executor/spi.h"
23
#include"commands/trigger.h"
3-
#include"c.h"/* endof() macro */
44
#include<ctype.h>/* tolower */
55
#include<stdio.h>/* debugging */
66

‎src/backend/port/dynloader/aix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include<sys/ldr.h>
1313
#include<a.out.h>
1414
#include<ldfcn.h>
15+
#include"postgres.h"
1516
#include"dynloader.h"
16-
#include"c.h"
1717

1818
/*
1919
* We simulate dlopen() et al. through a call to load. Because AIX has

‎src/backend/port/dynloader/hpux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.5 1998/09/01 03:24:39 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.6 1999/01/17 03:04:50 tgl Exp $
1111
*
1212
*NOTES
1313
*all functions are defined here -- it's impossible to trace the
@@ -19,7 +19,7 @@
1919
#include<stdio.h>
2020
#include<a.out.h>
2121
#include<dl.h>
22-
#include"c.h"
22+
#include"postgres.h"
2323
#include"fmgr.h"
2424
#include"utils/dynamic_loader.h"
2525
#include"dynloader.h"

‎src/backend/port/dynloader/ultrix4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.3 1998/09/01 03:24:41 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.4 1999/01/17 03:04:50 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
1616
#include<stdio.h>
1717
#include<postgres.h>
1818
#include"dl.h"
1919
#include<utils/dynamic_loader.h>
20-
#include"c.h"
20+
#include"postgres.h"
2121
#include"fmgr.h"
2222
#include"port-protos.h"
2323
#include"utils/elog.h"

‎src/backend/storage/buffer/s_lock.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.15 1998/12/26 18:15:53 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.16 1999/01/17 03:04:51 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -16,8 +16,7 @@
1616
#include<sys/time.h>
1717
#include<unistd.h>
1818

19-
#include"config.h"
20-
#include"c.h"
19+
#include"postgres.h"
2120
#include"storage/s_lock.h"
2221

2322

‎src/backend/utils/error/format.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.8 1999/01/0104:48:46 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/format.c,v 1.9 1999/01/17 03:04:52 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<stdio.h>
1515
#include<stdarg.h>
16-
#include"c.h"
16+
#include"postgres.h"
1717

1818
#defineFormMaxSize1024
1919
#defineFormMinSize(FormMaxSize / 8)

‎src/backend/utils/mmgr/oset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.9 1998/09/01 03:27:05 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/oset.c,v 1.10 1999/01/17 03:04:53 tgl Exp $
1111
*
1212
* NOTE
1313
* XXX This is a preliminary implementation which lacks fail-fast
1414
* XXX validity checking of arguments.
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
18-
#include"c.h"
18+
#include"postgres.h"
1919

2020
#include"utils/memutils.h"/* where declarations of this file goes */
2121

‎src/backend/utils/mmgr/palloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.8 1998/09/0104:33:37 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/Attic/palloc.c,v 1.9 1999/01/17 03:04:54 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<string.h>
1616

17-
#include"c.h"
17+
#include"postgres.h"
1818

1919
#include"utils/mcxt.h"
2020
#include"utils/elog.h"

‎src/include/libpq/pqcomm.h

Lines changed: 2 additions & 2 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: pqcomm.h,v 1.31 1999/01/1701:45:42 tgl Exp $
9+
* $Id: pqcomm.h,v 1.32 1999/01/1703:04:55 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -23,7 +23,7 @@
2323
#include<netinet/in.h>
2424
#endif
2525

26-
#include"c.h"
26+
#include"postgres.h"
2727

2828
/* Define a generic socket address type. */
2929

‎src/interfaces/libpq/pqsignal.h

Lines changed: 2 additions & 2 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: pqsignal.h,v 1.5 1998/09/0104:40:15 momjian Exp $
9+
* $Id: pqsignal.h,v 1.6 1999/01/17 03:04:57 tgl Exp $
1010
*
1111
* NOTES
1212
* This shouldn't be in libpq, but the monitor and some other
@@ -17,7 +17,7 @@
1717
#ifndefPQSIGNAL_H
1818
#definePQSIGNAL_H
1919

20-
#include"c.h"
20+
#include"postgres.h"
2121

2222
typedefvoid (*pqsigfunc) (int);
2323

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp