Missing mapping in 8.3/tsearch2.sql - Mailing list pgsql-hackers

From Josh Berkus
Subject Missing mapping in 8.3/tsearch2.sql
Date
Msg-id 49DE9A92.5060406@agliodbs.com
Whole thread Raw
Responses Re: Missing mapping in 8.3/tsearch2.sql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
All,

The Tsearch2.sql compatibility fuctions in 
/contrib/tsearch2/tsearch2.sql don't include an important compatibility 
object.  For 8.2 Tsearch2 usage, a lot of queries were written calling 
the "default" config, like:

to_tsvector('default',somedata)

In 8.3 this fails with a "No such config 'default'" error, even after 
loading the compatibility SQL.  We need to add this to the compatibility 
SQL generation code:

CREATE TEXT SEARCH CONFIGURATION public.default ( COPY = 
$default_text_search_config );

Yes?

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: monitoring-stats.html documentation
Next
From: Bruce Momjian
Date:
Subject: Re: monitoring-stats.html documentation