Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-13 Thread Pavel Stehule
On 13/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > I wrote: > > I've modified Pavel's version into something that seems to support this > > approach --- at least I can load the 8.2 tsearch regression test > > database into 8.3 after loading this. Still needs some polishing > > probably, and some

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-13 Thread Tom Lane
I wrote: > I've modified Pavel's version into something that seems to support this > approach --- at least I can load the 8.2 tsearch regression test > database into 8.3 after loading this. Still needs some polishing > probably, and some more testing. Comments? I've committed this, replacing the

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-11 Thread Tom Lane
I wrote: > The approach that I was hoping to see was > a) dump > b) install 8.3 and configure fulltext > c) load wrapper (into same schema as you used for tsearch2 before) > d) load dump file I've modified Pavel's version into something that seems to support this approach --- at least I can load

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Pavel Stehule
On 10/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > "Pavel Stehule" <[EMAIL PROTECTED]> writes: > > I found different problem, that have to be solved if wrapper have to > > be dump compatible. > > > there is about five functions with same name, and I have problem with > > wrapping, because I creat

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Tom Lane
"Pavel Stehule" <[EMAIL PROTECTED]> writes: > I found different problem, that have to be solved if wrapper have to > be dump compatible. > there is about five functions with same name, and I have problem with > wrapping, because I create recursive calling. I am not able select > integrated functio

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Pavel Stehule
On 10/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > "Pavel Stehule" <[EMAIL PROTECTED]> writes: > > On 10/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > >> * The SQL file doesn't create any of the old types (public.tsvector > >> etc) so it seems still a long ways short of ensuring that an old > >>

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Tom Lane
"Pavel Stehule" <[EMAIL PROTECTED]> writes: > On 10/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: >> * The SQL file doesn't create any of the old types (public.tsvector >> etc) so it seems still a long ways short of ensuring that an old >> dump file can be reloaded. Maybe I don't understand exactly

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Pavel Stehule
Hello On 10/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > "Pavel Stehule" <[EMAIL PROTECTED]> writes: > > this is revised version > > A couple of thoughts here: > > * What is the point of creating stub functions for things that users > won't attempt to call directly, such as opclass support funct

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-10 Thread Tom Lane
"Pavel Stehule" <[EMAIL PROTECTED]> writes: > this is revised version A couple of thoughts here: * What is the point of creating stub functions for things that users won't attempt to call directly, such as opclass support functions and the old dictionary support functions? Couldn't we just leav

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-08 Thread Pavel Stehule
On 09/11/2007, Tom Lane <[EMAIL PROTECTED]> wrote: > "Magnus Hagander" <[EMAIL PROTECTED]> writes: > > A thought on this - should it not go in contrib/tsearch2 replacing the old > > deprecated stuff, instead of creating yet aother contrib dir? It can be moved - no problem. > > That was the idea,

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-08 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > A thought on this - should it not go in contrib/tsearch2 replacing the old > deprecated stuff, instead of creating yet aother contrib dir? That was the idea, I thought. This proposed patch is in need of review, which I'd been hoping to get to tomor

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-08 Thread Magnus Hagander
Sent: 07-11-09, 01:35:49 > Subject: Re: [PATCHES] tsearch2api .. wrapper for integrated fultext > > Should I apply this or wait for a final version? > > --- > > Pavel Stehule wrote: > > Hello > > &

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-08 Thread Pavel Stehule
wait two days, please. Pavel I'll send finished patch on Sunday. On 09/11/2007, Bruce Momjian <[EMAIL PROTECTED]> wrote: > > Should I apply this or wait for a final version? > > --- > > Pavel Stehule wrote: > > Hello > > > >

Re: [PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-08 Thread Bruce Momjian
Should I apply this or wait for a final version? --- Pavel Stehule wrote: > Hello > > I am sending light wrapper of integrated fulltext. API is compatible > with tsearch2. > > Regards > Pavel Stehule > > ToDo: rewrite fun

[PATCHES] tsearch2api .. wrapper for integrated fultext

2007-11-06 Thread Pavel Stehule
Hello I am sending light wrapper of integrated fulltext. API is compatible with tsearch2. Regards Pavel Stehule ToDo: rewrite functions diff -c -N -r contrib.old/tsearch2api/Makefile contrib/tsearch2api/Makefile *** contrib.old/tsearch2api/Makefile 1970-01-01 01:00:00.0 +0100 --- contrib