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

Appearance settings

Commit 7273945

Browse filesBrowse files
committed
pg_resetwal: Update an obsolete comment
The comment claimed that pg_resetwal updates the pg_control file if it is of an old version. This has apparently never been true. Also, in c3c09be, another comment was added elsewhere that this currently does not happen. So this comment is wrong and redundant and can be removed. Reviewed-by: Aleksander Alekseev <aleksander@timescale.com> Discussion: https://www.postgresql.org/message-id/flat/0f3ab4a1-ae80-56e8-3426-6b4a02507687@eisentraut.org
1 parent 11c34b3 commit 7273945
Copy full SHA for 7273945

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎src/bin/pg_resetwal/pg_resetwal.c‎

Copy file name to clipboardExpand all lines: src/bin/pg_resetwal/pg_resetwal.c
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
*
77
* The theory of operation is fairly simple:
88
* 1. Read the existing pg_control (which will include the last
9-
* checkpoint record). If it is an old format then update to
10-
* current format.
9+
* checkpoint record).
1110
* 2. If pg_control is corrupt, attempt to intuit reasonable values,
1211
* by scanning the old xlog if necessary.
1312
* 3. Modify pg_control to reflect a "shutdown" state with a checkpoint

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.