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

From Tom Lane
Subject Re: Can't cast bigint to smallint?
Date
Msg-id 22653.1003954198@sss.pgh.pa.us
Whole thread Raw
In response to Can't cast bigint to smallint?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: Can't cast bigint to smallint?
List pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> The minor featurette seems to have crept into current sources; it is
> probably the cause of pg_dump being unable to reinstate disabled triggers.

Huh?  There's never been a cast from int8 to int2.  I checked 7.0 and
7.1, they both complain as well:

test71=# select 8::int8::int2;
ERROR:  Cannot cast type 'int8' to 'int2'

Where exactly is pg_dump failing?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: storing binary data
Next
From: Bill Studenmund
Date:
Subject: Re: schema support, was Package support for Postgres