"Ioseph Kim" <pgsql-kr(at)postgresql(dot)or(dot)kr> writes:> select -32768::int2;> ERROR: integer out of range
This is not a bug, because the interpretation is -(32768::int2)which indeed is out of range.
regards, tom lane