IIRC, the temp-table support was new and still a little flaky in 6.5.*. I'd suggest updating to 7.0.3. regards, tom lane
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных