Re: numeric type conversions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: numeric type conversions
Date: 2002-09-24 16:11:11
Message-ID: 2163.1032883871@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Ruslan A Dautkhanov <rusland(at)scn(dot)ru> writes:
> I should cast field of 'text' type to the 'numeric' type,
> but PG output error message: "ERROR: Cannot cast type 'text' to
> 'numeric'".

This has been fixed for 7.3.

> Imho, almost all types should have default convertors from and to
> the 'text' (varchar etc) type..

Probably.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-09-24 16:23:22 Re: some other backend died abnormally
Previous Message fredrik chabot 2002-09-24 07:58:42 Re: some other backend died abnormally