Re: Function proposal to find the type of a datum

From: Kate F <kate(at)cats(dot)meow(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Function proposal to find the type of a datum
Date: 2007-02-02 17:35:36
Message-ID: 20070202173536.GG390@cats.meow.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb/ 2/07 11:37:13AM -0500, Tom Lane wrote:
> Kate F <kate(at)cats(dot)meow(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ioseph Kim 2007-02-02 18:33:19 problem of geometric operator in v8.2.1
Previous Message David Fetter 2007-02-02 17:12:27 Re: writing new regexp functions