I have a type defined as:
CREATE TYPE A AS
(header text,
body text,
id numeric);
ALTER TYPE A
I want to add more atrributes to it, but I don't know how to check where this type is being used.
How do I get a list of which function uses it as return type?
for example if I have fuction:
CREATE OR REPLACE FUNCTION X(a integer, b integer, c integer, d citext)
RETURNS A AS .....
The query will list X in it's result.