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

Commit3d7fe6c

Browse files
committed
Added needed include file.
1 parent7a93da9 commit3d7fe6c

File tree

14 files changed

+34
-13
lines changed

14 files changed

+34
-13
lines changed

‎src/backend/executor/nodeHashjoin.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.1.1.1 1996/07/09 06:21:26 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.2 1996/10/31 05:53:35 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<sys/file.h>
1515

16+
#include"postgres.h"
1617
#include"storage/bufmgr.h"/* for BLCKSZ */
1718
#include"storage/fd.h"/* for SEEK_ */
1819
#include"executor/executor.h"

‎src/backend/include/miscadmin.h

Lines changed: 3 additions & 1 deletion
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.5 1996/10/23 07:40:32 scrappy Exp $
15+
* $Id: miscadmin.h,v 1.6 1996/10/31 05:53:43 momjian Exp $
1616
*
1717
* NOTES
1818
* some of the information in this file will be moved to
@@ -27,6 +27,8 @@
2727
* globals.h -- *
2828
*****************************************************************************/
2929

30+
#include"postgres.h"
31+
3032
/* #include "storage/sinval.h" */
3133

3234
/*

‎src/backend/optimizer/path/costsize.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.3 1996/07/22 23:30:50 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.4 1996/10/31 05:53:52 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -38,6 +38,8 @@
3838

3939
#include"storage/bufmgr.h"/* for BLCKSZ */
4040

41+
externintNBuffers;
42+
4143
staticintcompute_attribute_width(TargetEntry*tlistentry);
4244
staticdoublebase_log(doublex,doubleb);
4345

‎src/backend/storage/ipc/shmem.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.2 1996/10/31 05:54:42 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -59,6 +59,7 @@
5959
*/
6060
#include<stdio.h>
6161
#include<string.h>
62+
#include<sys/ipc.h>
6263
#include"postgres.h"
6364
#include"storage/ipc.h"
6465
#include"storage/shmem.h"

‎src/backend/storage/ipc/sinval.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.2 1996/10/31 05:54:43 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
/* #define INVALIDDEBUG1 */
1515

16+
#include<sys/ipc.h>
17+
1618
#include"postgres.h"
1719

1820
#include"storage/sinval.h"

‎src/backend/utils/cache/lsyscache.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.1.1.1 1996/07/09 06:22:06 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.2 1996/10/31 05:55:32 momjian Exp $
1111
*
1212
* NOTES
1313
* Eventually, the index information should go through here, too.
@@ -31,6 +31,7 @@
3131
#include"access/heapam.h"
3232

3333
#include"catalog/pg_amop.h"
34+
#include"catalog/pg_operator.h"
3435
#include"catalog/pg_type.h"
3536

3637
/* ---------- AMOP CACHES ---------- */

‎src/backend/utils/init/postinit.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.2 1996/08/27 22:21:34 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.3 1996/10/31 05:55:44 momjian Exp $
1111
*
1212
* NOTES
1313
*InitPostgres() is the function called from PostgresMain
@@ -31,6 +31,7 @@
3131
#include<string.h>
3232
#include<sys/file.h>
3333
#include<sys/types.h>
34+
#include<sys/ipc.h>
3435
#include<math.h>
3536

3637
#include"postgres.h"

‎src/bin/pg_dump/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.5 1996/07/3118:59:00 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.6 1996/10/3105:56:01 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -17,6 +17,8 @@ MKDIR=../../mk
1717
include$(MKDIR)/postgres.mk
1818
include ../Makefile.global
1919

20+
CFLAGS+= -I../../backend/port/$(PORTNAME)
21+
2022
SRCS=pg_dump.c common.c
2123

2224
include$(MKDIR)/postgres.prog.mk

‎src/include/access/attnum.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: attnum.h,v 1.2 1996/08/28 01:23:59 scrappy Exp $
9+
* $Id: attnum.h,v 1.3 1996/10/31 05:56:34 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefATTNUM_H
1414
#defineATTNUM_H
1515

16+
#include"postgres.h"
17+
1618
/*
1719
* user defined attribute numbers start at 1.-ay 2/95
1820
*/

‎src/include/libpq/libpq.h

Lines changed: 2 additions & 1 deletion
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: libpq.h,v 1.3 1996/10/23 07:41:41 scrappy Exp $
9+
* $Id: libpq.h,v 1.4 1996/10/31 05:56:42 momjian Exp $
1010
*
1111
* NOTES
1212
* This file contains definitions for structures and
@@ -19,6 +19,7 @@
1919
#ifndefLIBPQ_H
2020
#defineLIBPQ_H
2121

22+
#include<sys/types.h>
2223
#include<netinet/in.h>
2324

2425
#include"libpq/pqcomm.h"

‎src/include/regex/regex.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
#ifndef_REGEX_H_
4141
#define_REGEX_H_
4242

43+
#include<assert.h>
44+
4345
/* #include <sys/cdefs.h> */
4446
/* since not all systems have cdefs.h, we'll use our own here - jolly */
4547
#include"cdefs.h"

‎src/include/storage/ipc.h

Lines changed: 3 additions & 1 deletion
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: ipc.h,v 1.4 1996/10/19 06:27:12 scrappy Exp $
9+
* $Id: ipc.h,v 1.5 1996/10/31 05:57:40 momjian Exp $
1010
*
1111
* NOTES
1212
* This file is very architecture-specific. This stuff should actually
@@ -23,6 +23,8 @@
2323

2424
#include<sys/types.h>
2525

26+
#include"postgres.h"
27+
2628
/*
2729
* Many architectures have support for user-level spinlocks (i.e., an
2830
* atomic test-and-set instruction). However, we have only written

‎src/include/storage/proc.h

Lines changed: 2 additions & 1 deletion
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: proc.h,v 1.1 1996/08/28 01:58:24 scrappy Exp $
9+
* $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -16,6 +16,7 @@
1616
#include"storage/ipc.h"
1717
#include"storage/lock.h"
1818
#ifndefWIN32
19+
#include<sys/ipc.h>
1920
#include<sys/sem.h>
2021
#else
2122
/* This is because WIN32 already defines PROC */

‎src/include/utils/syscache.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: syscache.h,v 1.2 1996/10/19 04:16:04 scrappy Exp $
9+
* $Id: syscache.h,v 1.3 1996/10/31 05:58:01 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndefSYSCACHE_H
1414
#defineSYSCACHE_H
1515

1616
#include"access/attnum.h"
17+
#include"access/htup.h"
1718

1819
/*#define CACHEDEBUG*//* turns DEBUG elogs on */
1920

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp