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

Commitd098b23

Browse files
committed
Fix typos in comments.
1 parenta26ae56 commitd098b23

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

‎src/backend/catalog/namespace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
260260
* with the answer changing under them, or that they already hold some
261261
* appropriate lock, and therefore return the first answer we get without
262262
* checking for invalidation messages. Also, if the requested lock is
263-
* already held,noLockRelationOid will not AcceptInvalidationMessages,
263+
* already held, LockRelationOid will not AcceptInvalidationMessages,
264264
* so we may fail to notice a change. We could protect against that case
265265
* by calling AcceptInvalidationMessages() before beginning this loop, but
266266
* that would add a significant amount overhead, so for now we don't.
@@ -502,7 +502,7 @@ RangeVarGetCreationNamespace(const RangeVar *newRelation)
502502
* the same name which already exists in that namespace, or to InvalidOid if
503503
* no such relation exists.
504504
*
505-
* If lockmode != NoLock, the specified lock mode isacquire on the existing
505+
* If lockmode != NoLock, the specified lock mode isacquired on the existing
506506
* relation, if any, provided that the current user owns the target relation.
507507
* However, if lockmode != NoLock and the user does not own the target
508508
* relation, we throw an ERROR, as we must not try to lock relations the

‎src/backend/port/win32/socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pgwin32_waitforsinglesocket(SOCKET s, int what, int timeout)
177177
* Just a workaround of unknown locking problem with writing in UDP socket
178178
* under high load: Client's pgsql backend sleeps infinitely in
179179
* WaitForMultipleObjectsEx, pgstat process sleeps in pgwin32_select().
180-
* So, we will wait with small timeout(0.1 sec) and ifsockect is still
180+
* So, we will wait with small timeout(0.1 sec) and ifsocket is still
181181
* blocked, try WSASend (see comments in pgwin32_select) and wait again.
182182
*/
183183
if ((what&FD_WRITE)&&isUDP)

‎src/backend/utils/mb/encnames.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Encoding names and routines for work with it. All
3-
* in this file is sharedbedween FE and BE.
3+
* in this file is sharedbetween FE and BE.
44
*
55
* src/backend/utils/mb/encnames.c
66
*/

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11332,7 +11332,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
1133211332
/* Make sure we are in proper schema */
1133311333
selectSourceSchema(fout,collinfo->dobj.namespace->dobj.name);
1133411334

11335-
/* Getconversion-specific details */
11335+
/* Getcollation-specific details */
1133611336
appendPQExpBuffer(query,"SELECT "
1133711337
"collcollate, "
1133811338
"collctype "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp