Re: Function proposal to find the type of a datum - Mailing list pgsql-hackers

From Kate F
Subject Re: Function proposal to find the type of a datum
Date
Msg-id 20070202173536.GG390@cats.meow.at
Whole thread Raw
In response to Re: Function proposal to find the type of a datum  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Feb/ 2/07 11:37:13AM -0500, Tom Lane wrote:
> Kate F <kate@cats.meow.at> writes:
> > So, to conclude, we still have a valid use-case (which you explained a
> > little more explicitly than I did). Shall I attempt to implement it?
> > (that is, type_name_of() which returns TEXT)
> 
> I think I'd suggest pg_type_name ... or maybe pg_type_name_of ...
> also, the code you need to convert OID to name is already there,
> see regtypeout.

Fantastic! Thank you for the interesting discussion,

-- 
Kate


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: writing new regexp functions
Next
From: Stephan Szabo
Date:
Subject: Re: Referential Integrity and SHARE locks