Re: Fall back to alternative tsearch dictionary directory

From: Martin Pitt <mpitt(at)debian(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Fall back to alternative tsearch dictionary directory
Date: 2009-01-24 22:44:59
Message-ID: 20090124224459.GA14586@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

Tom Lane [2009-01-14 20:56 -0500]:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Uh, would someone eyeball and apply this? Thanks.
>
> I thought we had come to the conclusion that no patch was needed
> because there's no convincing reason to look anyplace except
> ${sharepath}/tsearch_data/.

That's what the current patch does now: It falls back to
system_basename.extension if there is no basename.extension. This
avoids overwriting the admin's own installed dictionaries with
automatically generated ones, and allows telling apart the ones that
the system can update automatically (system_) from the ones that we
should not touch (without system_ prefix).

Martin

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ANTONIO ROSA MORALES 2009-01-26 01:29:41 BUG #4627: FORGET MY PASWORD
Previous Message Euler Taveira de Oliveira 2009-01-24 18:31:24 Re: Selecting from a Subquery Fails