I've just scanned the 'create table as select' part of the manual and it
has nothing to say about the column widths. Nor did the section on
'Integer Literals' spell out what would happen when you add things.
Perhaps this is a documentation bug?
Marty
-----Original Message-----
From: info-ingres-bounces (AT) kettleriver...ting (DOT) com
[mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of Karl
& Betty Schendel
Sent: 09 April 2009 14:30
To: Ingres and related product discussion forum
Subject: Re: [Info-Ingres] default size of result in integer addition.
On Apr 9, 2009, at 9:19 AM, Martin Bowes wrote:
Quote:
Since we've upgraded to 9.1.1 we've noticed that the addition of
integer4 items now returns an integer8 field. This seems to be so
in sum() and when adding an integer literal to an integer4 field. |
It's a feature, more or less. There was a lot of i8-creep going on
during the
r3 / 9.x development and I was never entirely sure why. A little bit
of it
was caused by tids, the rest seemed to "just happen", maybe because i8
was available.
Karl
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres