Ian Turner <vectro@pipeline.com> writes:
> with the error 'ERROR: copyObject: don't know how to copy 611'. Does this
> mean one is not permitted to create tables (even temporaries!) in a
> function?
At the moment, I think not. There's no fundamental reason why it
couldn't be done, just some unfinished legwork (like writing a copy
subroutine for CreateStmt parse nodes...)
regards, tom lane