Name: | _pg_truetypid |
Specific name: | _pg_truetypid(pg_attribute, pg_type) |
Owner: | postgres |
Argument count: | 2 |
Return type: | oid |
Language: | sql |
Return a set: | |
Source: | SELECT CASE WHEN $2.typtype = 'd' THEN $2.typbasetype ELSE $1.atttypid END |
Volatility: | |
Security of definer: | |
Strict: | |
Comment: |
CREATE FUNCTION _pg_truetypid(pg_attribute, pg_type) RETURNS oid
AS $_$SELECT CASE WHEN $2.typtype = 'd' THEN $2.typbasetype ELSE $1.atttypid END$_$
LANGUAGE sql IMMUTABLE STRICT;
ALTER FUNCTION information_schema._pg_truetypid(pg_attribute, pg_type) OWNER TO postgres;
See Also
List of functions