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

2010-04-09 Thread Łukasz Dejneka
Oleg Bartunov suggested that I should explicitly use set search_path=public,pg_catalog; That's a good tip, as I missed the info in the manual, but it solved only one instance of my problem, namely SELECT to_tsquery('cat & dog & mouse'); --this now works as it should But the other instances stil

[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