"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> Description: Bug while Insert into TempResult Select cols .....
> statement
It is not possible to investigate this report based on the small amount of
information you provided. Give us a test case, or at least something
that would give someone else a chance to reproduce what you saw.
(No, I don't believe that inserting 500K rows is in and of itself buggy.)
regards, tom lane