Help me, please,
i have a module, which converts the WHERE clause to a canonical form, i.e. converting a logical clause to a
conjuntionalor dicjuntional clauses. For example:
(ves > 100 or bbbb = 10) AND (bbbb = aaa + 1 OR (aaaa AND caa))
will be converted to dicjuntional form:
ves>100 AND bbbb=10 AND bbbb=aaa+1 OR вес>100 AND bbbb=10 AND aaaa OR ves>100
AND bbbb=10 AND caa
That module is writen in the C++ langguage, how can i connect it to the PostgreSQL sources? In our project we must to
comparequeries. Beacause of the same query can be writen in different forms, so to compare queries we must to convert
themto the same form of presentation.
--
stvalentine