On 22 February 2012 18:34, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Thom Brown <thom(at)linux(dot)com> wrote:
>> Does this help?
>> test=# SELECT pg_typeof('4834.34'::numeric)::oid;
>> (1 row)
> Wouldn't it be easier to do this instead?
> test=# SELECT 'numeric'::regtype::oid;
> (1 row)
Well I may have misread the problem. I thought it was that for a
particular data value, the oid of the type of that value was needed.
In response to
pgsql-hackers by date
|Next:||From: Pavel Stehule||Date: 2012-02-22 18:36:38|
|Subject: Re: VACUUM ANALYZE is faster than ANALYZE?|
|Previous:||From: Kevin Grittner||Date: 2012-02-22 18:34:04|
|Subject: Re: determining a type oid from the name|