pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedfloat and numeric in 7.3
2+ messages / 2 participants
[nested] [flat]
* float and numeric in 7.3
@ 2003-02-03 19:36 Tomasz Myrta <jasiek@klaster.net>
2003-02-03 21:54 ` Re: float and numeric in 7.3 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Myrta @ 2003-02-03 19:36 UTC (permalink / raw)
To: pgsql-sql
Hi
I've just upgraded Postgresql 7.2 -> 7.3
Some of my views use function "round" with datatype "float".
They don't work after upgrading:
ERROR: Function round(double precision, integer) does not exist
What happened?
7.3 can't automaticaly cast float into numeric?
Or maybe 7.2 had both functions round(numeric, integer) and
round(double precision, integer)?
Should I change float into numeric in my tables if possible?
Regards,
Tomasz Myrta
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: float and numeric in 7.3
2003-02-03 19:36 float and numeric in 7.3 Tomasz Myrta <jasiek@klaster.net>
@ 2003-02-03 21:54 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2003-02-03 21:54 UTC (permalink / raw)
To: Tomasz Myrta <jasiek@klaster.net>; +Cc: pgsql-sql
Tomasz Myrta <jasiek@klaster.net> writes:
> 7.3 can't automaticaly cast float into numeric?
Nope, we tightened it up --- that's not an implicit cast anymore.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-02-03 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 19:36 float and numeric in 7.3 Tomasz Myrta <jasiek@klaster.net>
2003-02-03 21:54 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox