"Chris Cox" <cjcox(at)optushome(dot)com(dot)au> writes:
> Found my own problem! I didn't cast the values as bigint on the where.
Right-o. You shouldn't have to do that --- but we're still going round
and round about how to implicitly cast integer constants to the "right"
width. All of the proposals so far have proven to create new problems
:-(
regards, tom lane