Re: Can't cast bigint to smallint?

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: [GENERAL] Using an SMP machine to make multiple indices on
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: "Triggered data change violation", once again