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: (view raw, whole thread or download thread mbox)
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,


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-2017 The PostgreSQL Global Development Group