1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-21 02:52:47 +03:00

Make the order of the header file includes consistent.

Similar to commits 14aec03502, 7e735035f2 and dddf4cdc33, this commit
makes the order of header file inclusion consistent in more places.

Author: Vignesh C
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
This commit is contained in:
Amit Kapila
2019-11-25 08:08:57 +05:30
parent 2aa84520b3
commit e0487223ec
78 changed files with 127 additions and 210 deletions

View File

@@ -16,8 +16,8 @@
#include "access/itup.h"
#include "catalog/pg_am_d.h"
#include "fmgr.h"
#include "storage/bufmgr.h"
#include "lib/rbtree.h"
#include "storage/bufmgr.h"
/*
* Storage type for GIN's reloptions

View File

@@ -15,9 +15,8 @@
#define HIO_H
#include "access/htup.h"
#include "utils/relcache.h"
#include "storage/buf.h"
#include "utils/relcache.h"
/*
* state for bulk inserts --- private to heapam.c and hio.c

View File

@@ -15,9 +15,9 @@
#define HTUP_DETAILS_H
#include "access/htup.h"
#include "access/transam.h"
#include "access/tupdesc.h"
#include "access/tupmacs.h"
#include "access/transam.h"
#include "storage/bufpage.h"
/*

View File

@@ -15,9 +15,8 @@
#define ACCESS_RELATION_H
#include "nodes/primnodes.h"
#include "utils/relcache.h"
#include "storage/lockdefs.h"
#include "utils/relcache.h"
extern Relation relation_open(Oid relationId, LOCKMODE lockmode);
extern Relation try_relation_open(Oid relationId, LOCKMODE lockmode);

View File

@@ -15,9 +15,8 @@
#define TABLE_H
#include "nodes/primnodes.h"
#include "utils/relcache.h"
#include "storage/lockdefs.h"
#include "utils/relcache.h"
extern Relation table_open(Oid relationId, LOCKMODE lockmode);
extern Relation table_openrv(const RangeVar *relation, LOCKMODE lockmode);

View File

@@ -14,8 +14,8 @@
#ifndef TWOPHASE_H
#define TWOPHASE_H
#include "access/xlogdefs.h"
#include "access/xact.h"
#include "access/xlogdefs.h"
#include "datatype/timestamp.h"
#include "storage/lock.h"