mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Added needed include file.
This commit is contained in:
parent
7a93da98af
commit
3d7fe6c97c
@ -7,12 +7,13 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.1.1.1 1996/07/09 06:21:26 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.2 1996/10/31 05:53:35 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
|
|
||||||
|
#include "postgres.h"
|
||||||
#include "storage/bufmgr.h" /* for BLCKSZ */
|
#include "storage/bufmgr.h" /* for BLCKSZ */
|
||||||
#include "storage/fd.h" /* for SEEK_ */
|
#include "storage/fd.h" /* for SEEK_ */
|
||||||
#include "executor/executor.h"
|
#include "executor/executor.h"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: miscadmin.h,v 1.5 1996/10/23 07:40:32 scrappy Exp $
|
* $Id: miscadmin.h,v 1.6 1996/10/31 05:53:43 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* some of the information in this file will be moved to
|
* some of the information in this file will be moved to
|
||||||
@ -27,6 +27,8 @@
|
|||||||
* globals.h -- *
|
* globals.h -- *
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "postgres.h"
|
||||||
|
|
||||||
/* #include "storage/sinval.h" */
|
/* #include "storage/sinval.h" */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.3 1996/07/22 23:30:50 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.4 1996/10/31 05:53:52 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -38,6 +38,8 @@
|
|||||||
|
|
||||||
#include "storage/bufmgr.h" /* for BLCKSZ */
|
#include "storage/bufmgr.h" /* for BLCKSZ */
|
||||||
|
|
||||||
|
extern int NBuffers;
|
||||||
|
|
||||||
static int compute_attribute_width(TargetEntry *tlistentry);
|
static int compute_attribute_width(TargetEntry *tlistentry);
|
||||||
static double base_log(double x, double b);
|
static double base_log(double x, double b);
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.2 1996/10/31 05:54:42 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -59,6 +59,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <sys/ipc.h>
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
#include "storage/ipc.h"
|
#include "storage/ipc.h"
|
||||||
#include "storage/shmem.h"
|
#include "storage/shmem.h"
|
||||||
|
@ -7,12 +7,14 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.1.1.1 1996/07/09 06:21:54 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.2 1996/10/31 05:54:43 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
/* #define INVALIDDEBUG 1 */
|
/* #define INVALIDDEBUG 1 */
|
||||||
|
|
||||||
|
#include <sys/ipc.h>
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
#include "storage/sinval.h"
|
#include "storage/sinval.h"
|
||||||
|
3
src/backend/utils/cache/lsyscache.c
vendored
3
src/backend/utils/cache/lsyscache.c
vendored
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.1.1.1 1996/07/09 06:22:06 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.2 1996/10/31 05:55:32 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* Eventually, the index information should go through here, too.
|
* Eventually, the index information should go through here, too.
|
||||||
@ -31,6 +31,7 @@
|
|||||||
#include "access/heapam.h"
|
#include "access/heapam.h"
|
||||||
|
|
||||||
#include "catalog/pg_amop.h"
|
#include "catalog/pg_amop.h"
|
||||||
|
#include "catalog/pg_operator.h"
|
||||||
#include "catalog/pg_type.h"
|
#include "catalog/pg_type.h"
|
||||||
|
|
||||||
/* ---------- AMOP CACHES ---------- */
|
/* ---------- AMOP CACHES ---------- */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.2 1996/08/27 22:21:34 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.3 1996/10/31 05:55:44 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* InitPostgres() is the function called from PostgresMain
|
* InitPostgres() is the function called from PostgresMain
|
||||||
@ -31,6 +31,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <sys/ipc.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.5 1996/07/31 18:59:00 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.6 1996/10/31 05:56:01 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -17,6 +17,8 @@ MKDIR= ../../mk
|
|||||||
include $(MKDIR)/postgres.mk
|
include $(MKDIR)/postgres.mk
|
||||||
include ../Makefile.global
|
include ../Makefile.global
|
||||||
|
|
||||||
|
CFLAGS+= -I../../backend/port/$(PORTNAME)
|
||||||
|
|
||||||
SRCS= pg_dump.c common.c
|
SRCS= pg_dump.c common.c
|
||||||
|
|
||||||
include $(MKDIR)/postgres.prog.mk
|
include $(MKDIR)/postgres.prog.mk
|
||||||
|
@ -6,13 +6,15 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: attnum.h,v 1.2 1996/08/28 01:23:59 scrappy Exp $
|
* $Id: attnum.h,v 1.3 1996/10/31 05:56:34 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#ifndef ATTNUM_H
|
#ifndef ATTNUM_H
|
||||||
#define ATTNUM_H
|
#define ATTNUM_H
|
||||||
|
|
||||||
|
#include "postgres.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* user defined attribute numbers start at 1. -ay 2/95
|
* user defined attribute numbers start at 1. -ay 2/95
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: libpq.h,v 1.3 1996/10/23 07:41:41 scrappy Exp $
|
* $Id: libpq.h,v 1.4 1996/10/31 05:56:42 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This file contains definitions for structures and
|
* This file contains definitions for structures and
|
||||||
@ -19,6 +19,7 @@
|
|||||||
#ifndef LIBPQ_H
|
#ifndef LIBPQ_H
|
||||||
#define LIBPQ_H
|
#define LIBPQ_H
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#include "libpq/pqcomm.h"
|
#include "libpq/pqcomm.h"
|
||||||
|
@ -40,6 +40,8 @@
|
|||||||
#ifndef _REGEX_H_
|
#ifndef _REGEX_H_
|
||||||
#define _REGEX_H_
|
#define _REGEX_H_
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
/* #include <sys/cdefs.h> */
|
/* #include <sys/cdefs.h> */
|
||||||
/* since not all systems have cdefs.h, we'll use our own here - jolly */
|
/* since not all systems have cdefs.h, we'll use our own here - jolly */
|
||||||
#include "cdefs.h"
|
#include "cdefs.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: ipc.h,v 1.4 1996/10/19 06:27:12 scrappy Exp $
|
* $Id: ipc.h,v 1.5 1996/10/31 05:57:40 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This file is very architecture-specific. This stuff should actually
|
* This file is very architecture-specific. This stuff should actually
|
||||||
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include "postgres.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Many architectures have support for user-level spinlocks (i.e., an
|
* Many architectures have support for user-level spinlocks (i.e., an
|
||||||
* atomic test-and-set instruction). However, we have only written
|
* atomic test-and-set instruction). However, we have only written
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: proc.h,v 1.1 1996/08/28 01:58:24 scrappy Exp $
|
* $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -16,6 +16,7 @@
|
|||||||
#include "storage/ipc.h"
|
#include "storage/ipc.h"
|
||||||
#include "storage/lock.h"
|
#include "storage/lock.h"
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
#include <sys/ipc.h>
|
||||||
#include <sys/sem.h>
|
#include <sys/sem.h>
|
||||||
#else
|
#else
|
||||||
/* This is because WIN32 already defines PROC */
|
/* This is because WIN32 already defines PROC */
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: syscache.h,v 1.2 1996/10/19 04:16:04 scrappy Exp $
|
* $Id: syscache.h,v 1.3 1996/10/31 05:58:01 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -14,6 +14,7 @@
|
|||||||
#define SYSCACHE_H
|
#define SYSCACHE_H
|
||||||
|
|
||||||
#include "access/attnum.h"
|
#include "access/attnum.h"
|
||||||
|
#include "access/htup.h"
|
||||||
|
|
||||||
/*#define CACHEDEBUG*/ /* turns DEBUG elogs on */
|
/*#define CACHEDEBUG*/ /* turns DEBUG elogs on */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user