Re: BUG #18003: FATAL: cannot request additional shared memory outside shmem_request_hook

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: eng(dot)khaledghazy(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18003: FATAL: cannot request additional shared memory outside shmem_request_hook
Date: 2023-06-27 21:44:57
Message-ID: 1053466.1687902297@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)de> writes:
> That's not going to help you / the reporter, but to make issues like this
> easier to debug in the future, I think we should
> a) install an error context in load_libraries() printing the GUC name and
> b) install an error context in internal_load_library() printing the name of
> the shared library name

+1. I'm not sure this specific issue justifies it, but it seems like that
might make it easier to diagnose other shared-library-load-time issues
as well.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-06-27 23:11:51 Re: BUG #18000: Access method used by matview can be dropped leaving broken matview
Previous Message Andres Freund 2023-06-27 21:24:23 Re: BUG #18003: FATAL: cannot request additional shared memory outside shmem_request_hook