Skip to content

Commit 45326c5

Browse files
committed
Split resowner.h
This lets files that are mere users of ResourceOwner not automatically include the headers for stuff that is managed by the resowner mechanism.
1 parent 0a664ec commit 45326c5

File tree

23 files changed

+106
-69
lines changed

23 files changed

+106
-69
lines changed

src/backend/access/common/tupdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "parser/parse_type.h"
2525
#include "utils/acl.h"
2626
#include "utils/builtins.h"
27-
#include "utils/resowner.h"
27+
#include "utils/resowner_private.h"
2828
#include "utils/syscache.h"
2929

3030

src/backend/access/transam/xact.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@
3838
#include "pgstat.h"
3939
#include "replication/walsender.h"
4040
#include "replication/syncrep.h"
41+
#include "storage/fd.h"
4142
#include "storage/lmgr.h"
4243
#include "storage/predicate.h"
4344
#include "storage/proc.h"
4445
#include "storage/procarray.h"
4546
#include "storage/sinvaladt.h"
4647
#include "storage/smgr.h"
48+
#include "utils/catcache.h"
4749
#include "utils/combocid.h"
4850
#include "utils/guc.h"
4951
#include "utils/inval.h"

src/backend/commands/dbcommands.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include "pgstat.h"
4646
#include "postmaster/bgwriter.h"
4747
#include "storage/copydir.h"
48+
#include "storage/fd.h"
4849
#include "storage/lmgr.h"
4950
#include "storage/ipc.h"
5051
#include "storage/procarray.h"

src/backend/commands/extension.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include "funcapi.h"
4646
#include "mb/pg_wchar.h"
4747
#include "miscadmin.h"
48+
#include "storage/fd.h"
4849
#include "tcop/utility.h"
4950
#include "utils/builtins.h"
5051
#include "utils/fmgroids.h"

src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
#include "catalog/pg_database.h"
7777
#include "commands/dbcommands.h"
7878
#include "commands/vacuum.h"
79+
#include "lib/dllist.h"
7980
#include "libpq/pqsignal.h"
8081
#include "miscadmin.h"
8182
#include "pgstat.h"

src/backend/postmaster/bgwriter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include "postmaster/bgwriter.h"
4747
#include "storage/bufmgr.h"
4848
#include "storage/buf_internals.h"
49+
#include "storage/fd.h"
4950
#include "storage/ipc.h"
5051
#include "storage/lwlock.h"
5152
#include "storage/proc.h"

src/backend/postmaster/checkpointer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#include "postmaster/bgwriter.h"
4949
#include "replication/syncrep.h"
5050
#include "storage/bufmgr.h"
51+
#include "storage/fd.h"
5152
#include "storage/ipc.h"
5253
#include "storage/lwlock.h"
5354
#include "storage/proc.h"

src/backend/postmaster/walwriter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#include "miscadmin.h"
5252
#include "postmaster/walwriter.h"
5353
#include "storage/bufmgr.h"
54+
#include "storage/fd.h"
5455
#include "storage/ipc.h"
5556
#include "storage/lwlock.h"
5657
#include "storage/proc.h"

src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include "storage/smgr.h"
4747
#include "storage/standby.h"
4848
#include "utils/rel.h"
49-
#include "utils/resowner.h"
49+
#include "utils/resowner_private.h"
5050
#include "utils/timestamp.h"
5151

5252

src/backend/storage/buffer/localbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "storage/bufmgr.h"
2222
#include "utils/guc.h"
2323
#include "utils/memutils.h"
24-
#include "utils/resowner.h"
24+
#include "utils/resowner_private.h"
2525

2626

2727
/*#define LBDEBUG*/

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