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

From Bruce Momjian
Subject Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice
Date
Msg-id 200709270541.l8R5fJI27959@momjian.us
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice
List pgsql-hackers
I just talked to Teodor and we discussed this problem.  My idea is to
have a special marker in the synonym table, perhaps "*" to indicate the
presence of _any_ stop word at that location.  This will not produce any
warnings because it is clearly intentional.  The original warning for a
literal stop word will remain but will happen only when the user users
an actual unintentional use of a stop word.  The synonym examples will
need to be updated to use "*" as stop word markers.

---------------------------------------------------------------------------

Tom Lane wrote:
> Log Message:
> -----------
> Temporarily modify tsearch regression tests to suppress notice that comes
> out at erratic times, because it is creating a totally unacceptable level
> of noise in our buildfarm results.  This patch can be reverted when and if
> the code is fixed to not issue notices during cache reload events.
> 
> Modified Files:
> --------------
>     pgsql/src/backend/tsearch:
>         thesaurus_sample.ths (r1.1 -> r1.2)
>         (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/thesaurus_sample.ths?r1=1.1&r2=1.2)
>     pgsql/src/test/regress/expected:
>         tsdicts.out (r1.1 -> r1.2)
>         (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/tsdicts.out?r1=1.1&r2=1.2)
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Minor changes to Recovery related code
Next
From: Bruce Momjian
Date:
Subject: Re: plpgsql TABLE patch