any feedback? is this reasonable to everyone else?  I fixed the error on postgres (one test case) and now all tests run 100% with these changes... seems fine to me, and the sql produced also seems right.    Hope this helps someone.
<br><br>Cheers<br>Ati<br>