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-25 14:13:29
Message-ID: 13836.1004019209@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 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2001-10-25 14:13:58 Re: timeout for "idle in transaction"
Previous Message Marc G. Fournier 2001-10-25 13:43:52 Re: pgindent run