Re: Mysterious Bus Error with get_fn_expr_argtype() - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Mysterious Bus Error with get_fn_expr_argtype()
Date
Msg-id 8959BC35-F7A3-4583-87CB-94B626908FED@kineticode.com
Whole thread Raw
In response to Re: Mysterious Bus Error with get_fn_expr_argtype()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question regarding the database page layout.
Next
From: Alvaro Herrera
Date:
Subject: Re: WIP patch: Collation support