Re: Help Required regarding implementing operators in postgreSQL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Help Required regarding implementing operators in postgreSQL
Date
Msg-id 5189.1180021053@sss.pgh.pa.us
Whole thread Raw
In response to Help Required regarding implementing operators in postgreSQL  (Tasneem Memon <tasneememon@hotmail.com>)
List pgsql-hackers
Tasneem Memon <tasneememon@hotmail.com> writes:
> Hi, I am Tasneem Memon doing MS Computer Science. I am working on my thesis=
>  these days, for which I have defined some operators theoritically as well =
> as their algorithms, and intend to implement them in PostgreSQL. These oper=
> ators(NEAR, NOT NEAR) are binary and work with NUMBER and DATE data types. =
> Now I need to implement support for them in the parser. But I haven't worke=
> d on the optimization of the operators. And also I am new to database syste=
> ms programming, I am quite confused about what to do now and if I am going =
> the right direction!Please Guide me what should I do next.With best regards=

It sounds like you could use LIKE and its underlying operators/functions
as a template to follow.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tasneem Memon
Date:
Subject: Help Required regarding implementing operators in postgreSQL
Next
From: Tom Lane
Date:
Subject: Re: like/ilike improvements