Re: [HACKERS] C++ -> C : Module for converting the WHERE clause to the canonical form with PostgreSQL

2006-01-13 Thread Tom Lane
"St Valentine" <[EMAIL PROTECTED]> writes: > That module is writen in the C++ langguage, how can i connect it to > the PostgreSQL sources? Convert it to C ;-) Seriously, I think this would be a major pain in the neck to do --- there are various gotchas like the system headers not being C++-clean.

[HACKERS] C++ -> C : Module for converting the WHERE clause to the canonical form with PostgreSQL

2006-01-13 Thread St Valentine
Help me, please, i have a module, which converts the WHERE clause to a canonical form, i.e. converting a logical clause to a conjuntional or dicjuntional clauses. For example: (ves > 100 or = 10) AND ( = aaa + 1 OR ( AND caa)) will be converted to dicjuntional form: ves>100 AND bb