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

Commit1b00011

Browse files
committed
Ipcrm -> ipcclean in error message:
---------------------------------------------------------------------------While playing around, I got the following error message:--FATAL: pre-existing shared memory block (key 5432001, ID 90898435) isstill in useHINT: If you're sure there are no old server processes still running,remove the shared memory block with the command "ipcrm", or just deletethe file "/home/hlinnaka/pgsql/data/postmaster.pid".---Thats normal because I used "kill -9 postmaster" to shut down.The hint advises me to use "ipcrm", but there's the "ipcclean" script inbin for just this purpose. The hint should probably advise to useipcclean.The attached patch replaces all occurances of "ipcrm" with "ipcclean" insrc/backend/utils/init/miscinit.c and all the translations insrc/backend/po.While reviewing the patch, I noticed a likely typo in hr.po. While Idon'tspeak Croatian, the translation seems to advise to use the "icpm(1)"command. I changed that to "ipcclean" too.Heikki Linnakangas
1 parentd714560 commit1b00011

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
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.139 2005/04/14 20:03:26 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.140 2005/06/07 01:36:40 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -648,7 +648,7 @@ CreateLockFile(const char *filename, bool amPostmaster,
648648
errhint("If you're sure there are no old "
649649
"server processes still running, remove "
650650
"the shared memory block with "
651-
"the command \"ipcrm\", or just delete the file \"%s\".",
651+
"the command \"ipcclean\", or just delete the file \"%s\".",
652652
filename)));
653653
}
654654
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp