Обсуждение: pgsql: In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem

Поиск
Список
Период
Сортировка

pgsql: In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem segment
that is of no concern to us --- it must belong to a different userid,
which means it is not a Postgres shmem segment (or at least,
not one that is relevant to our data directory).  I plan a more extensive
fix in HEAD, but this is a simple change that prevents failure-to-reboot
problems for single-postmaster installations.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/port:
        sysv_shmem.c (r1.24.2.1 -> r1.24.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/sysv_shmem.c.diff?r1=1.24.2.1&r2=1.24.2.2)