Re: tsearch in core patch, for inclusion

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tsearch in core patch, for inclusion
Date: 2007-02-20 21:23:02
Message-ID: 200702202123.l1KLN2b28254@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------

Teodor Sigaev wrote:
> We (Oleg and me) are glad to present tsearch in core of pgsql patch. In basic,
> layout, functions, methods, types etc are the same as in current tsearch2 with a
> lot of improvements:
>
> - pg_ts_* tables now are in pg_catalog
> - parsers, dictionaries, configurations now have owner and namespace similar to
> other pgsql's objects like tables, operator classes etc
> - current tsearch configuration is managed with a help of GUC variable
> tsearch_conf_name.
> - choosing of tsearch cfg by locale may be done for each schema separately
> - managing of tsearch configuration with a help of SQL commands, not with
> insert/update/delete statements. This allows to drive dependencies,
> correct dumping and dropping.
> - psql support with a help of \dF* commands
> - add all available Snowball stemmers and corresponding configuration
> - correct memory freeing by any dictionary
>
> Work is sponsored by EnterpriseDB's PostgreSQL Development Fund.
>
> patch: http://www.sigaev.ru/misc/tsearch_core-0.33.gz
> docs: http://mira.sai.msu.su/~megera/pgsql/ftsdoc/ (not yet completed and it's
> not yet a patch, just a SGML source)
>
> Implementation details:
> - directory layout
> src/backend/utils/adt/tsearch - all IO function and simple operations
> src/backend/utils/tsearch - complex processing functions, including
> language processing and dictionaries
> - most of snowball dictionaries are placed in separate .so library and
> they plug in into data base by similar way as character conversation
> library does.
>
> If there aren't objections then we plan commit patch tomorrow or after tomorrow.
> Before committing, I'll changes oids from 5000+ to lower values to prevent holes
> in oids. And after that, I'll remove tsearch2 contrib module.
>
> --
> Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
> WWW: http://www.sigaev.ru/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-20 21:23:36 Re: tsearch in core patch, for inclusion
Previous Message Bruce Momjian 2007-02-20 21:22:27 Re: No ~ operator for box, point

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-20 21:23:36 Re: tsearch in core patch, for inclusion
Previous Message Bruce Momjian 2007-02-20 21:14:31 Re: [pgsql-patches] scrollable cursor support for plpgsql