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

Commit2d0fdfa

Browse files
author
Amit Kapila
committed
Fix typos in miscinit.c.
Commitf13ea95 moved the description of postmaster.pid file contentsfrom miscadmin.h to pidfile.h, but missed to update the comments inmiscinit.c.Author: Hadi MoshayediReviewed-by: Amit KapilaBackpatch-through: 10Discussion:https://postgr.es/m/CAK=1=WpYEM9x3LGkaxgXaxeYQjnkdW8XLsxrYRTE2Gq-H83FMw@mail.gmail.com
1 parentfd5e16e commit2d0fdfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/init/miscinit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ GetUserNameFromId(Oid roleid, bool noerr)
822822
* ($DATADIR/postmaster.pid) and Unix-socket-file lockfiles ($SOCKFILE.lock).
823823
* Both kinds of files contain the same info initially, although we can add
824824
* more information to a data-directory lockfile after it's created, using
825-
* AddToDataDirLockFile(). Seemiscadmin.h for documentation of the contents
825+
* AddToDataDirLockFile(). Seepidfile.h for documentation of the contents
826826
* of these lockfiles.
827827
*
828828
* On successful lockfile creation, a proc_exit callback to remove the
@@ -1089,7 +1089,7 @@ CreateLockFile(const char *filename, bool amPostmaster,
10891089
}
10901090

10911091
/*
1092-
* Successfully created the file, now fill it. See comment inmiscadmin.h
1092+
* Successfully created the file, now fill it. See comment inpidfile.h
10931093
* about the contents. Note that we write the same first five lines into
10941094
* both datadir and socket lockfiles; although more stuff may get added to
10951095
* the datadir lockfile later.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp