Re: Fixes for missing schema qualifications
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Noah Misch <noah@leadboat.com>
Cc: Michael Paquier <michael@paquier.xyz>, Postgres hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-10T18:13:09Z
Lists: pgsql-hackers
Noah Misch wrote: > On Fri, Mar 09, 2018 at 04:55:38PM +0900, Michael Paquier wrote: > > --- a/src/backend/catalog/information_schema.sql > > +++ b/src/backend/catalog/information_schema.sql > > @@ -186,7 +186,7 @@ CREATE FUNCTION _pg_interval_type(typid oid, mod int4) RETURNS text > > AS > > $$SELECT > > CASE WHEN $1 IN (1186) /* interval */ > > - THEN upper(substring(format_type($1, $2) from 'interval[()0-9]* #"%#"' for '#')) > > + THEN pg_catalog.upper(substring(pg_catalog.format_type($1, $2) from 'interval[()0-9]* #"%#"' for '#')) > > ELSE null > > END$$; > This qualifies some functions, but it leaves plenty of unqualified operators. ... and substring() ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add some missing schema qualifications
- ee2b37ae044f 12.0 landed