pgsql: Ipcrm -> ipcclean in error message:

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ipcrm -> ipcclean in error message:
Date: 2005-06-07 01:36:41
Message-ID: 20050607013641.268EA52816@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Ipcrm -> ipcclean in error message:

---------------------------------------------------------------------------

While playing around, I got the following error message:

--
FATAL: pre-existing shared memory block (key 5432001, ID 90898435) is
still in use
HINT: If you're sure there are no old server processes still running,
remove the shared memory block with the command "ipcrm", or just delete
the 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 in
bin for just this purpose. The hint should probably advise to use
ipcclean.

The attached patch replaces all occurances of "ipcrm" with "ipcclean" in
src/backend/utils/init/miscinit.c and all the translations in
src/backend/po.

While reviewing the patch, I noticed a likely typo in hr.po. While I
don't
speak Croatian, the translation seems to advise to use the "icpm(1)"
command. I changed that to "ipcclean" too.

Heikki Linnakangas

Modified Files:
--------------
pgsql/src/backend/utils/init:
miscinit.c (r1.139 -> r1.140)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/miscinit.c.diff?r1=1.139&r2=1.140)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-06-07 01:59:40 pgsql: Update text for RESET CONNECTION: < all temporary tables,
Previous Message Paul Tillotson 2005-06-07 01:26:21 Re: [COMMITTERS] pgsql: Fix NUMERIC modulus to properly