Re: tsearch2 wrapper - Mailing list pgsql-hackers

From Robert Treat
Subject Re: tsearch2 wrapper
Date
Msg-id 200710042106.00894.xzilla@users.sourceforge.net
Whole thread Raw
In response to tsearch2 wrapper  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: tsearch2 wrapper
List pgsql-hackers
On Thursday 04 October 2007 11:52, Pavel Stehule wrote:
> Hello
>
> I am working on subj. There are two variants:
>
> a) simple C wrapper which can be SQL compatible .. with this wrapper
> we don't need any changes in dump files .. but I thinking it's
> impossible, because there are conflicts between functio'n names and
> table's names.
>

the new built in stuff should all be in pg_catalog schema, and the old stuff 
in public schema, so in theory it would work... example of conflict?

> b) simple SQL wrapper -> it need modification of dump file :(, but it
> can work (probably doesn't needs modify of application).
>
> I started work on variant b)
> http://www.pgsql.cz/index.php/Tsearch2_wrapper
>
> plpgsql procedures I'll rewrite to C later.
>
> Now I thing, so compatibility is broken, but we can simplify port to
> 8.3 with some small wrapper like my wrapper.

thank goodness I've switched to putting tsearch in it's own schema, so I can 
easily seperate it with pg_dump.  

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: code documentation
Next
From: Tom Lane
Date:
Subject: Re: tsearch2 wrapper