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

Commitcd75e30

Browse files
committed
Ensure we use the correct spelling of "ensure"
We seem to have accidentally used "insure" in a few places. Correctthat.Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+Pv0biqrhA3pMhu40aDsj343mTsD75khKnHsLqR8P04f=Q@mail.gmail.comBackpatch-through: 12, oldest supported version
1 parent4f4a001 commitcd75e30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/backend/access/heap/hio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ RelationGetBufferForTuple(Relation relation, Size len,
363363
* on, as cached in the BulkInsertState or relcache entry. If that
364364
* doesn't work, we ask the Free Space Map to locate a suitable page.
365365
* Since the FSM's info might be out of date, we have to be prepared to
366-
* loop around and retry multiple times. (Toinsure this isn't an infinite
366+
* loop around and retry multiple times. (Toensure this isn't an infinite
367367
* loop, we must update the FSM with the correct amount of free space on
368368
* each page that proves not to be suitable.) If the FSM has no record of
369369
* a page with enough free space, we give up and extend the relation.

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ static struct config_bool ConfigureNamesBool[] =
11841184
{"fsync",PGC_SIGHUP,WAL_SETTINGS,
11851185
gettext_noop("Forces synchronization of updates to disk."),
11861186
gettext_noop("The server will use the fsync() system call in several places to make "
1187-
"sure that updates are physically written to disk. Thisinsures "
1187+
"sure that updates are physically written to disk. Thisensures "
11881188
"that a database cluster will recover to a consistent state after "
11891189
"an operating system or hardware crash.")
11901190
},

‎src/include/storage/buf_internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ typedef struct buftag
149149
* is held. Thus buffer header lock holder can do complex updates of the
150150
* state variable in single write, simultaneously with lock release (cleaning
151151
* BM_LOCKED flag). On the other hand, updating of state without holding
152-
* buffer header lock is restricted to CAS, whichinsure that BM_LOCKED flag
152+
* buffer header lock is restricted to CAS, whichensures that BM_LOCKED flag
153153
* is not set. Atomic increment/decrement, OR/AND etc. are not allowed.
154154
*
155155
* An exception is that if we have the buffer pinned, its tag can't change

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp