Re: Can't cast bigint to smallint?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't cast bigint to smallint?
Дата
Msg-id 22653.1003954198@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't cast bigint to smallint?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Can't cast bigint to smallint?  (Philip Warner <pjw@rhyme.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: storing binary data
Следующее
От: Bill Studenmund
Дата:
Сообщение: Re: schema support, was Package support for Postgres