Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Hm, it appears I have this wrong somehow since I can create tables using
> CREATE TABLE AS specifying tablespaces just fine. But I do't see how it can
> work.
Look at the first few lines of transformSetOperationStmt.
regards, tom lane