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

Commit5d59a6c

Browse files
committed
Fix grammar mistakes in md.c
Author: Kirk JamisonDiscussion:https://postgr.es/m/D09B13F772D2274BB348A310EE3027C640AC54@g01jpexmbkw24
1 parent8ff5f82 commit5d59a6c

File tree

1 file changed

+3
-3
lines changed
  • src/backend/storage/smgr

1 file changed

+3
-3
lines changed

‎src/backend/storage/smgr/md.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static CycleCtr mdckpt_cycle_ctr = 0;
171171
#defineEXTENSION_CREATE_RECOVERY(1 << 3)
172172
/*
173173
* Allow opening segments which are preceded by segments smaller than
174-
* RELSEG_SIZE, e.g. inactive segments (see above). Note that thisisbreaks
174+
* RELSEG_SIZE, e.g. inactive segments (see above). Note that this breaks
175175
* mdnblocks() and related functionality henceforth - which currently is ok,
176176
* because this is only required in the checkpointer which never uses
177177
* mdnblocks().
@@ -882,8 +882,8 @@ mdnblocks(SMgrRelation reln, ForkNumber forknum)
882882
segno++;
883883

884884
/*
885-
* We used to pass O_CREAT here, but that's has the disadvantage that
886-
*itmight create a segment which has vanished through some operating
885+
* We used to pass O_CREAT here, but that has the disadvantage that it
886+
* might create a segment which has vanished through some operating
887887
* system misadventure. In such a case, creating the segment here
888888
* undermines _mdfd_getseg's attempts to notice and report an error
889889
* upon access to a missing segment.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp