pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: float and numeric in 7.3
Date: Mon, 03 Feb 2003 20:36:13 +0100
Message-ID: <3E3EC4AD.8080205@klaster.net> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <3E3EC4AD.8080205@klaster.net>
Permalink:  ../3E3EC4AD.8080205@klaster.net/
Also on:    postgresql.org/message-id/3E3EC4AD.8080205@klaster.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jasiek@klaster.net
  Subject: Re: float and numeric in 7.3
  In-Reply-To: <3E3EC4AD.8080205@klaster.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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