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

Commit2ab5c03

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 parent6909742 commit2ab5c03

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
@@ -727,7 +727,7 @@ GetUserNameFromId(Oid roleid, bool noerr)
727727
* ($DATADIR/postmaster.pid) and Unix-socket-file lockfiles ($SOCKFILE.lock).
728728
* Both kinds of files contain the same info initially, although we can add
729729
* more information to a data-directory lockfile after it's created, using
730-
* AddToDataDirLockFile(). Seemiscadmin.h for documentation of the contents
730+
* AddToDataDirLockFile(). Seepidfile.h for documentation of the contents
731731
* of these lockfiles.
732732
*
733733
* On successful lockfile creation, a proc_exit callback to remove the
@@ -997,7 +997,7 @@ CreateLockFile(const char *filename, bool amPostmaster,
997997
}
998998

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp