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 27596.1190902112@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>)
Responses Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> That's not fixing the problem, unless your proposal includes never
>> issuing any warnings at all, for anything.

> No warning for "*" because it is intentional, but warning for actual
> stop words.

No, you're focusing on one symptom not the problem.  The problem is
that we've got user-visible behavior going on during what's effectively
a chance event, ie, a cache reload.

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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Text <-> C string
Next
From: NikhilS
Date:
Subject: Assertion failure due to ColumnRefStar