Re: Fall back to alternative tsearch dictionary directory - Mailing list pgsql-bugs

From Martin Pitt
Subject Re: Fall back to alternative tsearch dictionary directory
Date
Msg-id 20090124224459.GA14586@piware.de
Whole thread Raw
In response to Re: Fall back to alternative tsearch dictionary directory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hi Tom,

Tom Lane [2009-01-14 20:56 -0500]:
> Bruce Momjian <bruce@momjian.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)

pgsql-bugs by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: Selecting from a Subquery Fails
Next
From: Ruslan A Dautkhanov
Date:
Subject: Re: make of 8.3.5 failed on Linux