Re: Shared memory changes in 9.4?

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: Shared memory changes in 9.4?
Дата
Msg-id CAOtHd0DPtxDT-cwYGYr1DtdL6nc7NCmc8RT+6xujOGf3wHwg7w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Shared memory changes in 9.4?  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-general
On Mon, May 26, 2014 at 12:24 AM, Andres Freund <andres@2ndquadrant.com> wrote:
Any chance you're using a 9.3 configuration file instead of the one
generated by initdb?
dynamic_shared_memory_type defaults to 'posix' if not specified in the
config file (on platforms supporting it). If initdb detects that 'posix'
can't be used it'll emit a different value. If you're copying the config
from 9.3 and your environment doesn't support posix shm that'll cause
the above error.
I still think dynamic_shared_memory_type should default to 'none'
because of such problems.

It works with 'none' and 'sysv'--I think the issue is that technically our environment does support 'posix', but '/dev/shm' is indeed not mounted in the LXC container, leading to a discrepancy between what initdb decides and what's actually possible. Thanks for your help.

Thanks,
Maciek

В списке pgsql-general по дате отправления:

Предыдущее
От: saqibrafique
Дата:
Сообщение: Conversion from CHAR HEX
Следующее
От: "Claudio Biasatti"
Дата:
Сообщение: Re: Error while upgrading from 8.4 to 9.3