Re: Schema-qualify function calls in information_schema

2017-12-20 Thread Tom Lane
David Fetter writes: > Please find attached a patch against master to do $Subject, which > tones down the hilarity, at least in information_schema. The views do not need this sort of change, because they're parsed only once during initdb. The bodies of functions in information_schema do need qua

Schema-qualify function calls in information_schema

2017-12-20 Thread David Fetter
Folks, It's possible to arrange for schemas to precede pg_catalog and information_schema in a search_path setting, and when that's done, hilarity can ensue, especially when someone has created functions with identical signatures but non-identical behavior. People who do that should probably be pr