On Sep 2, 2008, at 11:06, Tom Lane wrote:

Better try that again.

regression=# select 1043::regtype;
     regtype
-------------------
character varying
(1 row)

regression=#

I see no need for two functions here.

Oh. I tried:

try=# select 1::regtype;
 regtype
---------
 1

I had assumed that 1 would be some type, but apparently not. Oops.

Best,

David

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to