mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Re-add -I../.. for fmgr.h
Change #include "" to #include <> Remove a few unused #includes Make sure it compiles with -Wall -Werror
This commit is contained in:
@ -4,14 +4,15 @@
|
|||||||
# Makefile for access/common
|
# Makefile for access/common
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.5 1996/11/03 09:06:42 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.6 1996/11/05 07:42:39 scrappy Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
SRCDIR = ../../..
|
SRCDIR = ../../..
|
||||||
include ../../../Makefile.global
|
include ../../../Makefile.global
|
||||||
|
|
||||||
INCLUDE_OPT = -I../../port/$(PORTNAME) \
|
INCLUDE_OPT = -I../.. \
|
||||||
|
-I../../port/$(PORTNAME) \
|
||||||
-I../../../include
|
-I../../../include
|
||||||
|
|
||||||
CFLAGS+=$(INCLUDE_OPT)
|
CFLAGS+=$(INCLUDE_OPT)
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.14 1996/11/05 05:26:29 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.15 1996/11/05 07:42:40 scrappy Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* The old interface functions have been converted to macros
|
* The old interface functions have been converted to macros
|
||||||
@ -17,16 +17,16 @@
|
|||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "access/htup.h"
|
#include <access/htup.h>
|
||||||
#include "access/transam.h"
|
#include <access/transam.h>
|
||||||
#include "access/tupmacs.h"
|
#include <access/tupmacs.h>
|
||||||
#include "storage/bufpage.h"
|
#include <storage/bufpage.h>
|
||||||
#include "utils/memutils.h"
|
#include <utils/memutils.h>
|
||||||
|
|
||||||
#ifndef HAVE_MEMMOVE
|
#ifndef HAVE_MEMMOVE
|
||||||
# include "regex/utils.h"
|
# include <regex/utils.h>
|
||||||
#else
|
#else
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,19 +7,19 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.10 1996/11/03 08:16:46 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.11 1996/11/05 07:42:41 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "fmgr.h"
|
#include <fmgr.h>
|
||||||
#include "access/heaptuple.h"
|
#include <access/heaptuple.h>
|
||||||
#include "access/xact.h"
|
#include <access/xact.h>
|
||||||
#include "storage/bufpage.h"
|
#include <storage/bufpage.h>
|
||||||
#include "utils/rel.h"
|
#include <utils/rel.h>
|
||||||
#include "utils/tqual.h"
|
#include <utils/tqual.h>
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
* heap_keytest
|
* heap_keytest
|
||||||
|
@ -8,21 +8,20 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.11 1996/11/05 05:26:31 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.12 1996/11/05 07:42:42 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "access/heapam.h"
|
#include <access/heapam.h>
|
||||||
#include "access/ibit.h"
|
#include <access/ibit.h>
|
||||||
#include "access/itup.h"
|
#include <access/itup.h>
|
||||||
#include "access/relscan.h"
|
#include <access/tupmacs.h>
|
||||||
#include "access/tupmacs.h"
|
|
||||||
|
|
||||||
#ifndef HAVE_MEMMOVE
|
#ifndef HAVE_MEMMOVE
|
||||||
# include "regex/utils.h"
|
# include <regex/utils.h>
|
||||||
#else
|
#else
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,17 +7,17 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.10 1996/11/03 08:16:48 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.11 1996/11/05 07:42:43 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "access/htup.h"
|
#include <access/htup.h>
|
||||||
#include "access/itup.h"
|
#include <access/itup.h>
|
||||||
#include "access/skey.h"
|
#include <access/skey.h>
|
||||||
#include "executor/execdebug.h"
|
#include <executor/execdebug.h>
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
/* ----------------------------------------------------------------
|
||||||
* index scan key qualification code
|
* index scan key qualification code
|
||||||
|
@ -8,18 +8,18 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.10 1996/11/05 05:26:32 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.11 1996/11/05 07:42:44 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "fmgr.h"
|
#include <fmgr.h>
|
||||||
#include "access/heaptuple.h"
|
#include <access/heaptuple.h>
|
||||||
#include "catalog/pg_type.h"
|
#include <catalog/pg_type.h>
|
||||||
#include "libpq/libpq.h"
|
#include <libpq/libpq.h>
|
||||||
#include "utils/syscache.h"
|
#include <utils/syscache.h>
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
/* ----------------------------------------------------------------
|
||||||
* printtup / debugtup support
|
* printtup / debugtup support
|
||||||
|
@ -7,15 +7,15 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.8 1996/11/03 10:57:23 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.9 1996/11/05 07:42:45 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "fmgr.h"
|
#include <fmgr.h>
|
||||||
#include "access/skey.h"
|
#include <access/skey.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ScanKeyEntryIsLegal --
|
* ScanKeyEntryIsLegal --
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.10 1996/11/05 05:25:44 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.11 1996/11/05 07:42:46 scrappy Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* some of the executor utility code such as "ExecTypeFromTL" should be
|
* some of the executor utility code such as "ExecTypeFromTL" should be
|
||||||
@ -18,17 +18,17 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "postgres.h"
|
#include <postgres.h>
|
||||||
|
|
||||||
#include "parser/catalog_utils.h"
|
#include <parser/catalog_utils.h>
|
||||||
#include "nodes/parsenodes.h"
|
#include <nodes/parsenodes.h>
|
||||||
#include "utils/builtins.h"
|
#include <utils/builtins.h>
|
||||||
#include "utils/fcache.h"
|
#include <utils/fcache.h>
|
||||||
#include "utils/tqual.h"
|
#include <utils/tqual.h>
|
||||||
#include "utils/syscache.h"
|
#include <utils/syscache.h>
|
||||||
|
|
||||||
#ifndef HAVE_MEMMOVE
|
#ifndef HAVE_MEMMOVE
|
||||||
# include "regex/utils.h"
|
# include <regex/utils.h>
|
||||||
#else
|
#else
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user