test=> create temp table t2 (i integer); ERROR: permission denied for schema pg_temp_1
The immediate problem is a simple thinko (lack of attention to a function's return convention), but I'm gonna go back and review that whole patch. It obviously wasn't tested well at all.
I know what's going on here and will submit a fix for this sometime tonight. -sc
-- Sean Chittenden
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend