+ Require schema qualification to cast to a temporary type when using
+ functional cast syntax (Noah Misch)
+
+
+ We have long required invocations of temporary functions to
+ explicitly specify the temporary schema, that
+ is pg_temp.func_name(args).
+ Require this as well for casting to temporary types using functional
+ notation, for
+ example pg_temp.type_name(arg).
+ Otherwise it's possible to capture a function call using a temporary
+ object, allowing privilege escalation in much the same ways that we
+ blocked in CVE-2007-2138.
+ (CVE-2019-10208)
+
+
+
+
+