Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group