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 13836.1004019209@sss.pgh.pa.us
Whole thread Raw
In response to Re: Can't cast bigint to smallint?  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> 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?

Okay, I've added conversion functions for int8-to-int2 and vice versa.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Index of a table is not used (in any case)
Next
From: "Marc G. Fournier"
Date:
Subject: Re: pgindent run