mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Major code cleanups from D'arcy (-Wall -Werror)
This commit is contained in:
@@ -12,8 +12,11 @@
|
||||
#ifndef GIST_H
|
||||
#define GIST_H
|
||||
|
||||
#include "utils/rel.h"
|
||||
#include "storage/off.h"
|
||||
#include "storage/block.h"
|
||||
#include "storage/bufpage.h"
|
||||
|
||||
#include "access/skey.h"
|
||||
|
||||
/*
|
||||
** You can have as many strategies as you please in GiSTs, as
|
||||
@@ -146,4 +149,5 @@ extern void gistdentryinit(GISTSTATE *giststate, GISTENTRY *e, char *pr,
|
||||
Relation r, Page pg, OffsetNumber o, int b, bool l) ;
|
||||
extern void gistcentryinit(GISTSTATE *giststate, GISTENTRY *e, char *pr,
|
||||
Relation r, Page pg, OffsetNumber o, int b, bool l) ;
|
||||
extern StrategyNumber RelationGetGISTStrategy(Relation, AttrNumber, RegProcedure);
|
||||
#endif /* GIST_H */
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: iqual.h,v 1.1 1996/08/27 21:50:16 scrappy Exp $
|
||||
* $Id: iqual.h,v 1.2 1996/10/23 07:41:27 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "storage/itemid.h"
|
||||
#include "utils/rel.h"
|
||||
#include "access/skey.h"
|
||||
#include "access/itup.h"
|
||||
|
||||
/* ----------------
|
||||
* index tuple qualification support
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: nbtree.h,v 1.1 1996/08/27 21:50:19 scrappy Exp $
|
||||
* $Id: nbtree.h,v 1.2 1996/10/23 07:41:29 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -23,6 +23,10 @@
|
||||
#include "access/relscan.h"
|
||||
#include "access/sdir.h"
|
||||
#include "nodes/pg_list.h"
|
||||
#include "storage/page.h"
|
||||
#include "storage/bufpage.h"
|
||||
#include "storage/item.h"
|
||||
#include "utils/memutils.h"
|
||||
|
||||
/*
|
||||
* BTPageOpaqueData -- At the end of every page, we store a pointer
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: relscan.h,v 1.2 1996/10/19 06:27:08 scrappy Exp $
|
||||
* $Id: relscan.h,v 1.3 1996/10/23 07:41:30 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -14,11 +14,9 @@
|
||||
#define RELSCAN_H
|
||||
|
||||
#include "utils/tqual.h"
|
||||
#include "utils/rel.h"
|
||||
#include "storage/buf.h"
|
||||
|
||||
|
||||
|
||||
|
||||
typedef ItemPointerData MarkData;
|
||||
|
||||
typedef struct HeapScanDescData {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: transam.h,v 1.1 1996/08/27 21:50:26 scrappy Exp $
|
||||
* $Id: transam.h,v 1.2 1996/10/23 07:41:31 scrappy Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Transaction System Version 101 now support proper oid
|
||||
@@ -17,6 +17,10 @@
|
||||
#ifndef TRANSAM_H
|
||||
#define TRANSAM_H
|
||||
|
||||
#include "utils/nabstime.h"
|
||||
#include "utils/rel.h"
|
||||
#include "storage/bufmgr.h"
|
||||
|
||||
/* ----------------
|
||||
* transaction system version id
|
||||
*
|
||||
|
Reference in New Issue
Block a user