aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-12-09 08:39:34 +0530
committerAmit Kapila <akapila@postgresql.org>2019-12-09 08:43:28 +0530
commita7472d2b7a36deb3474d3a21f5aba0b643da3065 (patch)
tree3743bcd1712dabe1896f23991941f3ff87c2f5bb /src
parentcc4371dc345392777aa419ca872b28c4169a797b (diff)
downloadpostgresql-a7472d2b7a36deb3474d3a21f5aba0b643da3065.tar.gz
postgresql-a7472d2b7a36deb3474d3a21f5aba0b643da3065.zip
Fix typos in miscinit.c.
Commit f13ea95f9e moved the description of postmaster.pid file contents from miscadmin.h to pidfile.h, but missed to update the comments in miscinit.c. Author: Hadi Moshayedi Reviewed-by: Amit Kapila Backpatch-through: 10 Discussion: https://postgr.es/m/CAK=1=WpYEM9x3LGkaxgXaxeYQjnkdW8XLsxrYRTE2Gq-H83FMw@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/init/miscinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/init/miscinit.c b/src/backend/utils/init/miscinit.c
index 83c95148562..de554e28cfe 100644
--- a/src/backend/utils/init/miscinit.c
+++ b/src/backend/utils/init/miscinit.c
@@ -822,7 +822,7 @@ GetUserNameFromId(Oid roleid, bool noerr)
* ($DATADIR/postmaster.pid) and Unix-socket-file lockfiles ($SOCKFILE.lock).
* Both kinds of files contain the same info initially, although we can add
* more information to a data-directory lockfile after it's created, using
- * AddToDataDirLockFile(). See miscadmin.h for documentation of the contents
+ * AddToDataDirLockFile(). See pidfile.h for documentation of the contents
* of these lockfiles.
*
* On successful lockfile creation, a proc_exit callback to remove the
@@ -1089,7 +1089,7 @@ CreateLockFile(const char *filename, bool amPostmaster,
}
/*
- * Successfully created the file, now fill it. See comment in miscadmin.h
+ * Successfully created the file, now fill it. See comment in pidfile.h
* about the contents. Note that we write the same first five lines into
* both datadir and socket lockfiles; although more stuff may get added to
* the datadir lockfile later.