Skip to content

Commit 90834ce

Browse files
committed
Remove some unnecessary includes of "access/xlog_internal.h"
There were a few places where access/xlog_internal.h was apparently included unnecessarily. In some of those places, a more specific header file (that somehow came in via access/xlog_internal.h) can be used instead. Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://www.postgresql.org/message-id/flat/a56a6eec-eb14-471b-9570-3cac23603964%40eisentraut.org
1 parent aa210e0 commit 90834ce

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/bin/pg_checksums/pg_checksums.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
#include <sys/stat.h>
2121
#include <unistd.h>
2222

23-
#include "access/xlog_internal.h"
2423
#include "common/controldata_utils.h"
2524
#include "common/file_perm.h"
2625
#include "common/file_utils.h"
2726
#include "common/logging.h"
27+
#include "common/relpath.h"
2828
#include "fe_utils/option_utils.h"
2929
#include "getopt_long.h"
3030
#include "pg_getopt.h"

src/bin/pg_rewind/timeline.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "postgres_fe.h"
1111

1212
#include "access/timeline.h"
13-
#include "access/xlog_internal.h"
1413
#include "pg_rewind.h"
1514

1615
/*

src/include/access/generic_xlog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define GENERIC_XLOG_H
1616

1717
#include "access/xlog.h"
18-
#include "access/xlog_internal.h"
18+
#include "access/xlogreader.h"
1919
#include "access/xloginsert.h"
2020
#include "storage/bufpage.h"
2121
#include "utils/rel.h"

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