maxim.boguk@gmail.com writes:
> If an input value of the field=value goes over bigint range, the database
> switches to the field::numeric=value::numeric plan, which leads to the seq
> scan as result.
This is not a bug. If you want to force inputs to be bigint, try using a
cast.
regards, tom lane