Re: Smallint - Integer Casting Problems in Plpgsql functions - Mailing list pgsql-general

From Richard Huxton
Subject Re: Smallint - Integer Casting Problems in Plpgsql functions
Date
Msg-id 200403180915.54761.dev@archonet.com
Whole thread Raw
In response to Re: Smallint - Integer Casting Problems in Plpgsql functions  (Denis Gasparin <denis@edistar.com>)
Responses Re: Smallint - Integer Casting Problems in Plpgsql functions
List pgsql-general
On Thursday 18 March 2004 07:52, Denis Gasparin wrote:
> Hi Richard.
> Thank you for your reply. I rewrote the store procedure to accept
> integer instead of smallint.
>
> What i don't understand is  why the casting is working in 7.2.3. What
> has been changed from that?

The type system was tightened up. It's been made smarter for 7.5, but I'm not
sure it deals with this.

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Anton Nikiforov
Date:
Subject: Re: Huge number of raws
Next
From: Denis Gasparin
Date:
Subject: Re: Smallint - Integer Casting Problems in Plpgsql functions