Re: Error when setting default_text_search_config

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Murat Efendioğlu <mrtdmrts001(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Error when setting default_text_search_config
Date: 2024-10-08 01:03:00
Message-ID: c584f1a1-e864-4ec3-82fc-9409440f476e@ewie.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Davis 2024-10-08 01:06:02 Re: Error when setting default_text_search_config
Previous Message Michael Paquier 2024-10-07 23:22:31 Re: vacuumdb: permission denied for schema "pg_temp_7"