Lukasz Michalski <zork@clan.pl> writes:
> I've got PostgreSQL 6.5.2 installed and strange things happens when I
> try to create temp table in transaction block.
Yes, that area is kinda broken in 6.5.*. Try it with 7.0 (RC1 or
later).
regards, tom lane