]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fixes:
authorMarc G. Fournier <scrappy@hub.org>
Tue, 13 Aug 1996 01:29:34 +0000 (01:29 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 13 Aug 1996 01:29:34 +0000 (01:29 +0000)
commit59f29714aa8d084bdb3f96b87ee03775d7e2b865
tree2a5e03ddc804c55180924e6c6636cb9fb632d6ee
parent9b7eb28ea5ebdea8ea92944f036b7c0409abd62f
Fixes:

This patch forces postgres95 to assume any floating-point value is a
float8.  It removes the requirement that you cast all floating-point
constants to float8.

We can remove alot of casts in the regression test after we are sure
this works.

If I have missed anything, would someone let me know.  I have tested
inserts of floating-point values into float8 fields, and it worked well.
Casting the number to float4 showed the same precision loss as previous
uncast values showed.

Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
src/backend/parser/gram.y
src/backend/parser/parse_query.c