mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
Add some missing schema qualifications
This does not improve the security and reliability of the touched areas, but it makes the style more consistent. Author: Michael Paquier Reviewed-by- Noah Misch Discussion: https://postgr.es/m/20180309075538.GD9376@paquier.xyz
This commit is contained in:
@@ -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$$;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user