From: Erik Wienhold <ewie@ewie.name>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Murat Efendioğlu <mrtdmrts001@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Error when setting default_text_search_config
Date: Tue, 8 Oct 2024 03:03:00 +0200
Message-ID: <c584f1a1-e864-4ec3-82fc-9409440f476e@ewie.name> (raw)
In-Reply-To: <dac9094eac03d8eaff9e310aba336ec01fa3cf47.camel@j-davis.com>
References: <CACbCzujQ4zS8MM1bx-==+tr+D3Hk5G1cjN4XkUQ+Q=cEpwhzqg@mail.gmail.com>
<26c28873-85ca-4360-a5e9-1cc691a05451@ewie.name>
<9c480df9-720b-4419-85c6-09113f5d6f0a@ewie.name>
<1381066.1728239990@sss.pgh.pa.us>
<dac9094eac03d8eaff9e310aba336ec01fa3cf47.camel@j-davis.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: ewie@ewie.name, pgsql@j-davis.com, tgl@sss.pgh.pa.us, mrtdmrts001@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: Error when setting default_text_search_config
In-Reply-To: <c584f1a1-e864-4ec3-82fc-9409440f476e@ewie.name>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox