Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice
Date
Msg-id 3377.1191077434@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> One possible real solution would be to tweak the dictionary APIs so
>> that the dictionaries can find out whether this is the first load during
>> a session, or a reload, and emit notices only in the first case.

> Yea, that would work too.  Or just throw an error for a stop word in the
> file and then you never get a reload (use "*" instead).

Hm, that's a thought --- it'd be a way to solve the problem without an
API change for dictionaries, which is something to avoid at this late
stage of the 8.3 cycle.  Come to think of it, does the ts_cache stuff
work properly when an error is thrown in dictionary load (ie, is the
cache entry left in a sane state)?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PGBuildfarm member skylark Branch HEAD Failed at Stage Make
Next
From: Tom Lane
Date:
Subject: Re: Something's been bugging me