Re: proposal: tsearch dictionary initialization hook
Teodor Sigaev <teodor@sigaev.ru>
From: Teodor Sigaev <teodor@sigaev.ru>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Oleg Bartunov <oleg@sai.msu.su>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-09-07T15:01:42Z
Lists: pgsql-hackers
Hm, what is aim of this hook? It looks like a wrapper of dictionary init method.
> I propose a new hook type - that helps with controlling a life cycle
> of some tsearch dictionaries. This hook has minimal impact on
> performance - it's called once per session for one tsearch
> configuration.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/