Re: tsearch_core patch: permissions and security issues

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Teodor Sigaev <teodor(at)sigaev(dot)ru>, Gregory Stark <stark(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tsearch_core patch: permissions and security issues
Date: 2007-06-14 19:10:43
Message-ID: Pine.LNX.4.64.0706142259570.1881@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Thu, 14 Jun 2007, Tom Lane wrote:

> Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
>> The reason to save SQLish interface to dictionaries is a simplicity of
>> configuration. Snowball's stemmers are useful as is, but ispell dictionary
>> requires some configuration action before using.
>
> Yeah. I had been wondering about moving the dict_initoption over to the
> configuration entry --- is that sane at all? It would mean that
> dict_init functions would have to guard themselves against invalid
> options, but they probably ought to do that anyway. If we did that,
> I think we could have a fixed set of dictionaries without too much
> problem, and focus on just configurations as being user-alterable.

currently, all dictionaries we provide are all template dictionaries,
so users could change only parameters.

But, there are reasons to allow users register new templates and in fact we
know people/projects with application-dependent dictionaries.
How they could dump/reload their dictionaries ?

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Teodor Sigaev 2007-06-14 19:15:55 Re: tsearch_core patch: permissions and security issues
Previous Message Teodor Sigaev 2007-06-14 19:10:32 Re: tsearch_core patch: permissions and security issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2007-06-14 19:15:55 Re: tsearch_core patch: permissions and security issues
Previous Message Teodor Sigaev 2007-06-14 19:10:32 Re: tsearch_core patch: permissions and security issues