Re: [HACKERS] Re: [GENERAL] A mistake generates strange result - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Re: [GENERAL] A mistake generates strange result
Date
Msg-id 36C1A539.40712C5E@alumni.caltech.edu
Whole thread Raw
In response to Re: [GENERAL] A mistake generates strange result  (Postgres DBA <postgres@nest.bistbn.com>)
List pgsql-hackers
> Unfortunately, that is true, at least for Postgres 6.4.0:
> template1=> select text('12345678'::float8);
> -----------------------------
> Tue May 23 00:21:18 2000 EEST
> Please, guys, take care of this small bug:-)

tgl=> select text('12345678'::float8);   text
--------
12345678
(1 row)

Already done. From the cvs log:

revision 1.84
date: 1998/11/17 14:36:51;  author: thomas;  state: Exp;  lines: +34 -15
Add text<->float8 and text<->float4 conversion functions.
This will fix the problem reported by Jose' Soareswhen trying to cast a float to text.
                        - Tom


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] Keywords
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result