Re: FATAL: cannot request additional shared memory outside shmem_request_hook

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Alexander Remus <confabulatus(at)pm(dot)me>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: FATAL: cannot request additional shared memory outside shmem_request_hook
Date: 2022-07-15 10:49:22
Message-ID: CAOBaU_Yk-jL10qt+fMDv7_+UucuODna4oy8JZ6Dri4uFUYd1Cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi

On Fri, Jul 15, 2022 at 6:28 PM Alexander Remus <confabulatus(at)pm(dot)me> wrote:
>
> 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.

FTR this has already been reported to the project two weeks ago, see
https://github.com/EnterpriseDB/pldebugger/issues/8.

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

Unfortunately the only way is to fix the code, hopefully EDB will take
care it soon.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nikhil Shetty 2022-07-15 15:57:21 Re: Fwd: Adding more detail to pg_upgrade documentation
Previous Message Alexander Remus 2022-07-15 10:28:01 FATAL: cannot request additional shared memory outside shmem_request_hook