Finding the correct type - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Finding the correct type
Date
Msg-id 4454966F.2010409@tada.se
Whole thread Raw
Responses Re: Finding the correct type  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
I'm writing a UDT that takes a varchar argument that represents the name 
of a type. The caller may optionally qualify with a namespace, i.e. 
"pg_catalog.varchar", or "public.address". Is there a c-function 
somewhere that will return the pg_type that corresponds to the name 
(with respect to the current setting of search_path in case the name is 
unqualified)?

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Is a SERIAL column a "black box", or not?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Finding the correct type