FATAL: cannot request additional shared memory outside shmem_request_hook

Поиск
Список
Период
Сортировка
От Alexander Remus
Тема FATAL: cannot request additional shared memory outside shmem_request_hook
Дата
Msg-id 81f82c00-8818-91f3-96fa-47976f94662b@pm.me
обсуждение исходный текст
Ответы Re: FATAL: cannot request additional shared memory outside shmem_request_hook  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-admin
Hello,

I'm trying to get the plugin_debugger plugin to work on a Manjaro system.

I got the source code of Postgres from
https://github.com/postgres/postgres, and the source code of the
extension from git clone https://github.com/EnterpriseDB/pldebugger.git.

The build process went OK and a database has been init.

Now when I shut the the database down and edit the postgresql.conf file
as instructed in https://github.com/EnterpriseDB/pldebugger, the server
cannot be started again due to this error:

FATAL:  cannot request additional shared memory outside shmem_request_hook.

I'm sure that the extension built OK since I failed to change the
directory in my build script before and upon server start I got a
different error saying that it cannot find the plugin or something along
those lines.

In https://www.pgadmin.org/docs/pgadmin4/development/debugger.html it
says "You must have superuser privileges to use the debugger.". Not sure
about this, does this refer to the database role? The server is started
with a postgres system account, which is not a "Linux" superuser, at
least I cannot use sudo as this user.

The question now is: Is there a way to fix this?





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

Предыдущее
От: flatley
Дата:
Сообщение: truncate issue , possibly
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: FATAL: cannot request additional shared memory outside shmem_request_hook