Resolves #2206: Error creating pg_temp.testfunc()