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

Commit1d0dd47

Browse files
committed
Okay...this pretty much cleans out the include files.
I'm able to get through a 'make' of the backend with no errors exceptthe occasional 'might not be initialized error', which is nothing major,just annoying.Have a few patches from D'Arcy to incorporate, but am waiting until I canget a clean compile first, which I'm hoping to have before bed, or sometimetomorrow.
1 parentb6e640f commit1d0dd47

File tree

17 files changed

+17
-64
lines changed

17 files changed

+17
-64
lines changed

‎src/include/bootstrap/bootstrap.h

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,14 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: bootstrap.h,v 1.1 1996/08/28 07:21:31 scrappy Exp $
9+
* $Id: bootstrap.h,v 1.2 1996/11/06 10:29:05 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefBOOTSTRAP_H
1414
#defineBOOTSTRAP_H
1515

16-
#include<sys/file.h>
17-
#include<stdio.h>
18-
#include<string.h>
19-
#include<signal.h>
20-
#include<ctype.h>
2116

22-
#include"access/htup.h"
23-
#include"access/itup.h"
24-
#include"access/relscan.h"
25-
#include"access/skey.h"
26-
#include"utils/tqual.h"
27-
#include"storage/buf.h"
28-
#include"storage/bufmgr.h"/* for BufferManagerFlush */
29-
#include"utils/portal.h"
30-
#include"utils/elog.h"
31-
#include"utils/rel.h"
3217

3318
#defineMAXATTR 40/* max. number of attributes in a relation */
3419

‎src/include/catalog/pg_amop.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_amop.h,v 1.2 1996/10/31 09:47:12 scrappy Exp $
10+
* $Id: pg_amop.h,v 1.3 1996/11/06 10:29:18 scrappy Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -24,7 +24,6 @@
2424
*can be read by both genbki.sh and the C compiler.
2525
* ----------------
2626
*/
27-
#include"access/istrat.h"
2827

2928
/* ----------------
3029
*pg_amop definition. cpp turns this into

‎src/include/catalog/pg_version.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_version.h,v 1.2 1996/10/31 09:48:03 scrappy Exp $
10+
* $Id: pg_version.h,v 1.3 1996/11/06 10:29:23 scrappy Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -24,7 +24,6 @@
2424
*can be read by both genbki.sh and the C compiler.
2525
* ----------------
2626
*/
27-
#include"utils/nabstime.h"
2827

2928
/* ----------------
3029
*pg_version definition. cpp turns this into

‎src/include/commands/async.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: async.h,v 1.2 1996/10/04 20:16:52 scrappy Exp $
9+
* $Id: async.h,v 1.3 1996/11/06 10:29:30 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefASYNC_H
1414
#defineASYNC_H
1515

16-
#include"nodes/memnodes.h"
1716

1817
externvoidAsync_NotifyHandler(SIGNAL_ARGS);
1918
externvoidAsync_Notify(char*relname);

‎src/include/commands/version.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: version.h,v 1.2 1996/10/31 09:48:24 scrappy Exp $
9+
* $Id: version.h,v 1.3 1996/11/06 10:29:33 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefVERSION_H
1414
#defineVERSION_H
1515

16-
#include"nodes/pg_list.h"
1716

1817
externvoidDefineVersion(char*name,char*fromRelname,char*date);
1918
externvoidVersionCreate(char*vname,char*bname);

‎src/include/lib/qsort.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: qsort.h,v 1.1 1996/08/28 07:22:40 scrappy Exp $
9+
* $Id: qsort.h,v 1.2 1996/11/06 10:29:46 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefQSORT_H
1414
#defineQSORT_H
1515

16-
#include<sys/types.h>
1716

1817
externvoidpg_qsort(void*bot,
1918
size_tnmemb,

‎src/include/libpq/auth.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: auth.h,v 1.2 1996/10/31 09:48:57 scrappy Exp $
9+
* $Id: auth.h,v 1.3 1996/11/06 10:29:54 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefAUTH_H
1414
#defineAUTH_H
1515

16-
#include"libpq/pqcomm.h"
16+
#include<libpq/pqcomm.h>
1717

1818
/*----------------------------------------------------------------
1919
* Common routines and definitions

‎src/include/libpq/hba.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
* Interface to hba.c
55
*
66
*
7-
* $Id: hba.h,v 1.1 1996/10/11 09:12:17 bryanh Exp $
7+
* $Id: hba.h,v 1.2 1996/11/06 10:29:58 scrappy Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
1111
#ifndefHBA_H
1212
#defineHBA_H
1313

14-
#include<libpq/pqcomm.h>
1514

1615
externint
1716
hba_recvauth(constPort*port,constchardatabase[],constcharuser[],

‎src/include/libpq/libpq-fs.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: libpq-fs.h,v 1.1 1996/08/28 07:23:00 scrappy Exp $
9+
* $Id: libpq-fs.h,v 1.2 1996/11/06 10:30:02 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefLIBPQ_FS_H
1414
#defineLIBPQ_FS_H
1515

16-
#include"lib/dllist.h"
17-
#include<sys/file.h>
18-
#include<sys/stat.h>
1916

20-
#include<fcntl.h>/* for O_ on some */
2117
#ifndefWIN32
22-
#include<unistd.h>/* for SEEK_ on most */
2318
#endif/* WIN32 */
2419
#ifndefSEEK_SET
25-
#include<stdio.h>/* for SEEK_ on others */
2620
#endif/* SEEK_SET */
2721

2822
/* UNIX compatibility junk. This should be in all systems' include files,

‎src/include/libpq/pqsignal.h

Lines changed: 1 addition & 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.2 1996/10/31 09:49:01 scrappy Exp $
9+
* $Id: pqsignal.h,v 1.3 1996/11/06 10:30:08 scrappy Exp $
1010
*
1111
* NOTES
1212
* This shouldn't be in libpq, but the monitor and some other
@@ -17,7 +17,6 @@
1717
#ifndefPQSIGNAL_H
1818
#definePQSIGNAL_H
1919

20-
#include<signal.h>
2120

2221

2322
typedefvoid (*pqsigfunc)(int);

‎src/include/miscadmin.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: miscadmin.h,v 1.1 1996/10/31 07:10:13 scrappy Exp $
15+
* $Id: miscadmin.h,v 1.2 1996/11/0610:28:59 scrappy Exp $
1616
*
1717
* NOTES
1818
* some of the information in this file will be moved to
@@ -27,10 +27,6 @@
2727
* globals.h -- *
2828
*****************************************************************************/
2929

30-
#include"postgres.h"
31-
32-
/* #include "storage/sinval.h" */
33-
3430
/*
3531
* from postmaster/postmaster.c
3632
*/

‎src/include/optimizer/internal.h

Lines changed: 1 addition & 8 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: internal.h,v 1.1 1996/08/28 07:23:12 scrappy Exp $
9+
* $Id: internal.h,v 1.2 1996/11/06 10:30:18 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -22,13 +22,6 @@
2222
*
2323
*/
2424

25-
#include"nodes/nodes.h"
26-
#include"nodes/primnodes.h"
27-
#include"nodes/plannodes.h"
28-
#include"parser/parsetree.h"
29-
#include"nodes/relation.h"
30-
#include"catalog/pg_index.h"/* for INDEX_MAX_KEYS */
31-
#include"utils/syscache.h"/* for SearchSysCacheGetAttribute, etc. */
3225

3326
/*
3427
* System-dependent tuning constants

‎src/include/optimizer/planner.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: planner.h,v 1.1 1996/08/28 07:23:26 scrappy Exp $
9+
* $Id: planner.h,v 1.2 1996/11/06 10:30:20 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefPLANNER_H
1414
#definePLANNER_H
1515

1616
/*
17-
#include "optimizer/internal.h"
18-
#include "parser/parse_query.h"
1917
*/
2018

2119
externPlan*planner(Query*parse);

‎src/include/parser/parsetree.h

Lines changed: 1 addition & 3 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: parsetree.h,v 1.1 1996/08/28 07:23:57 scrappy Exp $
10+
* $Id: parsetree.h,v 1.2 1996/11/06 10:30:39 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,8 +18,6 @@
1818
*need pg_list.h for definitions of CAR(), etc. macros
1919
* ----------------
2020
*/
21-
#include"nodes/pg_list.h"
22-
#include"nodes/parsenodes.h"
2321

2422
/* ----------------
2523
*range table macros

‎src/include/regex/regexp.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ typedef struct regexp {
5757
charprogram[1];/* Unwarranted chumminess with compiler. */
5858
}regexp;
5959

60-
/* #include <sys/cdefs.h> */
6160
/* since not all systems have cdefs.h, we'll use our own here - jolly */
62-
#include"cdefs.h"
6361

6462
__BEGIN_DECLS
6563
regexp*pg95_regcomp__P((constchar*));

‎src/include/rewrite/locks.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: locks.h,v 1.1 1996/08/28 07:24:04 scrappy Exp $
9+
* $Id: locks.h,v 1.2 1996/11/06 10:30:59 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefLOCKS_H
1414
#defineLOCKS_H
1515

16-
#include"rewrite/prs2lock.h"
1716

1817
externList*matchLocks(CmdTypeevent,RuleLock*rulelocks,intvarno,
1918
Query*parsetree);

‎src/include/rewrite/rewriteSupport.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rewriteSupport.h,v 1.1 1996/08/28 07:24:13 scrappy Exp $
9+
* $Id: rewriteSupport.h,v 1.2 1996/11/06 10:31:02 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefREWRITESUPPORT_H
1414
#defineREWRITESUPPORT_H
1515

16-
#include"nodes/pg_list.h"
1716

1817
externintIsDefinedRewriteRule(char*ruleName);
1918

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp