Re: Can't cast bigint to smallint? - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Can't cast bigint to smallint?
Date
Msg-id 3.0.5.32.20011025093305.00a3eb00@mail.rhyme.com.au
Whole thread Raw
In response to Re: Can't cast bigint to smallint?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Can't cast bigint to smallint?
List pgsql-hackers
At 16:09 24/10/01 -0400, Tom Lane wrote:
>
>Huh?  There's never been a cast from int8 to int2.  I checked 7.0 and
>7.1, they both complain as well:
>

Is this a policy decision, or just a case where noone has had a chance to
do it?


>Where exactly is pg_dump failing?
>

The problem in in the code to re-enable triggers:

...reltriggers = (select Count(*)....

So perhaps this version now has Count returning a bigint rather than an int?



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: [GENERAL] Using an SMP machine to make multiple indices on
Next
From: Stephan Szabo
Date:
Subject: Re: "Triggered data change violation", once again