Re: Can't cast bigint to smallint?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Can't cast bigint to smallint?
Date: 2001-10-24 20:09:58
Message-ID: 22653.1003954198@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Ford 2001-10-24 20:52:37 CVS server stumbling?
Previous Message Tom Lane 2001-10-24 19:54:53 Re: join instruction