Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90834ce

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

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
#defineGENERIC_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)

[8]ページ先頭

©2009-2025 Movatter.jp