Re: Mysterious Bus Error with get_fn_expr_argtype()

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Brendan Jurd <direvus(at)gmail(dot)com>, Neil Conway <neilc(at)samurai(dot)com>
Subject: Re: Mysterious Bus Error with get_fn_expr_argtype()
Date: 2008-09-02 18:36:19
Message-ID: 8959BC35-F7A3-4583-87CB-94B626908FED@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-09-02 18:47:08 Re: WIP patch: Collation support
Previous Message Tom Lane 2008-09-02 18:35:31 Re: Question regarding the database page layout.