Re: [HACKERS] float4 confused as int??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: pghackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] float4 confused as int??
Date: 2000-01-31 15:52:35
Message-ID: 9970.949333955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Ed Loehr <eloehr(at)austin(dot)rr(dot)com> writes:
> emsdb=> UPDATE contract_activity_type SET duration = 3.5, updater_id
> = 1, last_update = now() WHERE id = 72;
> ERROR: pg_atoi: error in "3.5": can't parse ".5"

?? What version are you running? I can't reproduce that with either
6.5.3 or current sources.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed Loehr 2000-01-31 16:31:39 Re: [HACKERS] float4 confused as int??
Previous Message Karel Zak - Zakkr 2000-01-31 15:22:49 Re: [GENERAL] Use of datepart() on TimeStamp.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-01-31 16:00:57 Re: [HACKERS] Duplicate index check in btbuild
Previous Message Tom Lane 2000-01-31 15:42:04 Re: [HACKERS] freefuncs.c is never called from anywhere!?