Re: [HACKERS] float4 confused as int??

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

Ed Loehr wrote:
>
> Ed Loehr wrote:
> >
> > Tom Lane wrote:
> > >
> > > 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.
> >
> > 6.5.2
>
> This happens only via DBI/DBD::Pg. I can't reproduce via psql.

Not getting enough sleep...

Correction: DBI or not makes no difference. I can reproduce it on
*this* table via psql, but I cannot reproduce on a newly created table
with a float column.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc Tardif 2000-01-31 18:43:17 automatic timestamp
Previous Message Ed Loehr 2000-01-31 16:32:55 Re: [HACKERS] float4 confused as int??

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2000-01-31 19:13:56 Re: [HACKERS] Another nasty cache problem
Previous Message Don Baccus 2000-01-31 17:45:58 Re: [HACKERS] END/ABORT