Re: Error when setting default_text_search_config - Mailing list pgsql-bugs

From Erik Wienhold
Subject Re: Error when setting default_text_search_config
Date
Msg-id c584f1a1-e864-4ec3-82fc-9409440f476e@ewie.name
Whole thread Raw
In response to Error when setting default_text_search_config  (Murat Efendioğlu <mrtdmrts001@gmail.com>)
Responses Re: Error when setting default_text_search_config
List pgsql-bugs
On 2024-10-06 23:51 +0200, Jeff Davis wrote:
> On Sun, 2024-10-06 at 14:39 -0400, Tom Lane wrote:
> > I suppose we could just move the InitializeSearchPath call up
> > a bit (the comments in postinit.c are misleading about what it
> > actually does), but I wonder whether the cache-is-valid assumptions
> > in namespace.c ought to be rethought.  It seems unduly fragile
> > as-is.
> 
> I attached a patch which fixes the observed problem and is hopefully
> more robust to similar issues.

WFM.  The regression tests pass and the segfault no longer occurs.

-- 
Erik



pgsql-bugs by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: vacuumdb: permission denied for schema "pg_temp_7"
Next
From: Jeff Davis
Date:
Subject: Re: Error when setting default_text_search_config