Hi Aleksander,
> Could you please describe your case in more detail?
I noticed this when I was adding oid8 support to rust-postgres [1].
I don't have a concrete use case at the moment.
I thought it was inconsistent that 9223372036854775807::oid8 works, but
9223372036854775808::oid8 fails. Both values are within the range of oid8,
so I expected both casts to work. That's why I sent the patch.
[1] https://github.com/rust-postgres/rust-postgres/pull/1392
Koshi Shibagaki
FUJITSU LIMITED
https://www.fujitsu.com/