Finding the correct type

From: Thomas Hallgren <thomas(at)tada(dot)se>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Finding the correct type
Date: 2006-04-30 10:50:23
Message-ID: 4454966F.2010409@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-30 10:58:55 Re: Finding the correct type
Previous Message Hannu Krosing 2006-04-30 10:42:37 Re: Is a SERIAL column a "black box", or not?