Help Required regarding implementing operators in postgreSQL

Started by Tasneem Memonover 18 years ago2 messages
#1Tasneem Memon
tasneememon@hotmail.com

Dear Developers,
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 operators(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 worked on the optimization of the operators. And also I am new to database systems 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,

Tasneem Ishaque Memon MS (Computer Science) Institute of Mathmetics and Computer Science University of Sindh, Jamshoro Pakistan http://www.geocities.com/tasneememon/- The process of gaining knowledge is not producing results but clearing away ignorance.
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tasneem Memon (#1)
Re: Help Required regarding implementing operators in postgreSQL

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