Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> writes:
> 2017-12-21 17:52 GMT+01:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> You have to schema-qualify the temp function name when calling it, too.
> So search_path is not used with functions?
pg_temp is explicitly ignored when searching for functions/operators.
Otherwise, installing a trojan horse is just too easy.
regards, tom lane