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-02-01 02:04:31
Message-ID: 12115.949370671@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:
> The problem is occurring with a database that was restored with psql
> from a pg_dump (6.5.2).

> If I dump the problem table, then drop/recreate it with my original
> table creation commands, and then reload with only the insert commands
> from the pg_dump'ed file, it reloads and allows updating of the float
> field without a problem.

OK. Almost certainly, the data in the table is of no consequence;
the table schema is what matters. What are your original table
creation commands, and what does pg_dump emit?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-02-01 02:11:04 Re: [GENERAL] SQL Book
Previous Message mathprof 2000-02-01 02:03:08 sin() in PostgreSQL?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-01 02:06:45 Re: [HACKERS] Recent RI changes have broken something
Previous Message The Hermit Hacker 2000-02-01 02:03:41 Re: [HACKERS] freefuncs.c is never called from anywhere!?