WITH clause support

I found that all the sub-statements in a statement, for example statement in WITH clause and outside it, should be assigned the same cid to maintain visibility. In the case of XC, they may be divided into multiple statements, where we should provide the same visibility.

To do this, we may need a feature to maintain the same "cid" among multiple sub-statements derived from the original statement.

David Fetter's lecture on CTE in PGCon2011 helped much. Thank you David.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.