Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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


pgsql-hackers by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group