Thread

  1. Re: Error when setting default_text_search_config

    Erik Wienhold <ewie@ewie.name> — 2024-10-08T01:03:00Z

    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