Missing mapping in 8.3/tsearch2.sql

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Missing mapping in 8.3/tsearch2.sql
Date: 2009-04-10 01:02:10
Message-ID: 49DE9A92.5060406@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-04-10 03:14:01 Re: monitoring-stats.html documentation
Previous Message Bruce Momjian 2009-04-09 22:32:34 Re: monitoring-stats.html documentation