Re: [HACKERS] float4 confused as int?? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] float4 confused as int??
Date
Msg-id 12115.949370671@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] float4 confused as int??  (Ed Loehr <eloehr@austin.rr.com>)
List pgsql-hackers
Ed Loehr <eloehr@austin.rr.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] freefuncs.c is never called from anywhere!?
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] freefuncs.c is never called from anywhere!?