Re: Smallint - Integer Casting Problems in Plpgsql functions

From: Richard Huxton <dev(at)archonet(dot)com>
To: Denis Gasparin <denis(at)edistar(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Smallint - Integer Casting Problems in Plpgsql functions
Date: 2004-03-18 09:15:54
Message-ID: 200403180915.54761.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis Gasparin 2004-03-18 10:12:20 Re: Smallint - Integer Casting Problems in Plpgsql functions
Previous Message Anton Nikiforov 2004-03-18 08:59:41 Re: Huge number of raws