Re: numeric cast oddity - Mailing list pgsql-general

From Tom Lane
Subject Re: numeric cast oddity
Date
Msg-id 8450.1259852590@sss.pgh.pa.us
Whole thread Raw
In response to numeric cast oddity  (Sim Zacks <sim@compulab.co.il>)
Responses Re: numeric cast oddity
List pgsql-general
Sim Zacks <sim@compulab.co.il> writes:
> When I cast an integer to numeric using :: notation it ignores the scale
> and precision that I specify, but when I use the cast function it uses
> the scale and precision that I specify.

Really?  Your example doesn't seem to show that.

            regards, tom lane

pgsql-general by date:

Previous
From: David Boreham
Date:
Subject: Re: Unexpected EOF on client connection
Next
From: Tom Lane
Date:
Subject: Re: pg_attribute.attnum - wrong column ordinal?