Skip to content

Commit 5d59a6c

Browse files
committed
Fix grammar mistakes in md.c
Author: Kirk Jamison Discussion: https://postgr.es/m/D09B13F772D2274BB348A310EE3027C640AC54@g01jpexmbkw24
1 parent 8ff5f82 commit 5d59a6c

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
#define EXTENSION_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 this is breaks
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-
* it might 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)
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