Re: [HACKERS] How to modify default Type (TSQuery) behaviour?

2010-04-09 Thread Łukasz Dejneka
#x27;dog " mouse'); --new operator (doublequote), works fine until OUTPUT function is called and as it is the default one an error is displayed Is there any other way I could overwrite the default functions for a built in type in Postgres? 2010/4/9 Łukasz Dejneka : > Hi all > > I&

[HACKERS] How to modify default Type (TSQuery) behaviour?

2010-04-09 Thread Łukasz Dejneka
Hi all I've asked related question on General list, but got no answer, although I have been able to work around that issue a little bit. There is one snag I encountered and I have no idea on how to work it out. I need to modify TSQuery object (add another operator and do some stuff with it) - thi

Re: [HACKERS] Using HStore type in TSearch

2010-03-29 Thread Łukasz Dejneka
2010/3/29 Tom Lane > =?ISO-8859-2?Q?=A3ukasz_Dejneka?= writes: > > What I want to do is to use HStore data type (namely the HStore keys) in > > TSearch. I don't want use TSVector and the original ts_match_vq function, > > because I want to be able to control exact values that are passed to the >

[HACKERS] Using HStore type in TSearch

2010-03-29 Thread Łukasz Dejneka
Hi, I've asked this question in novice group and another Postgres forum, but didn't get any help. What I want to do is to use HStore data type (namely the HStore keys) in TSearch. I don't want use TSVector and the original ts_match_vq function, because I want to be able to control exact values th