Re: [HACKERS] Re: [GENERAL] A mistake generates strange result

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Postgres DBA <postgres(at)nest(dot)bistbn(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result
Date: 1999-02-10 15:26:49
Message-ID: 36C1A539.40712C5E@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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' Soares
when trying to cast a float to text.

- Tom

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bryan White 1999-02-10 19:05:41 How to improve performance
Previous Message Bruce Momjian 1999-02-10 15:25:44 Re: [HACKERS] Re: [GENERAL] A mistake generates strange result

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-02-10 15:38:15 Re: [HACKERS] Re: [GENERAL] A mistake generates strange result
Previous Message Bruce Momjian 1999-02-10 15:25:44 Re: [HACKERS] Re: [GENERAL] A mistake generates strange result