Skip to content

Commit e20a90e

Browse files
committed
Trim spgist_private.h inclusion
It doesn't really need rel.h; relcache.h is enough.
1 parent 358ff99 commit e20a90e

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/backend/access/spgist/spgdoinsert.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "access/spgist_private.h"
2020
#include "miscadmin.h"
2121
#include "storage/bufmgr.h"
22+
#include "utils/rel.h"
2223

2324

2425
/*

src/backend/access/spgist/spginsert.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "storage/bufmgr.h"
2525
#include "storage/smgr.h"
2626
#include "utils/memutils.h"
27+
#include "utils/rel.h"
2728

2829

2930
typedef struct

src/backend/access/spgist/spgscan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "storage/bufmgr.h"
2222
#include "utils/datum.h"
2323
#include "utils/memutils.h"
24+
#include "utils/rel.h"
2425

2526

2627
typedef void (*storeRes_func) (SpGistScanOpaque so, ItemPointer heapPtr,

src/include/access/spgist_private.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#include "access/itup.h"
1818
#include "access/spgist.h"
1919
#include "nodes/tidbitmap.h"
20-
#include "utils/rel.h"
20+
#include "storage/relfilenode.h"
21+
#include "utils/relcache.h"
2122

2223

2324
/* Page numbers of fixed-location pages */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy