Re: Can't cast bigint to smallint?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Can't cast bigint to smallint?
Date: 2001-10-24 23:33:05
Message-ID: 3.0.5.32.20011025093305.00a3eb00@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christian Meunier 2001-10-24 23:37:44 Cache query plan..
Previous Message Tom Lane 2001-10-24 23:06:22 Re: Proposed new create command, CREATE OPERATOR CLASS