本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
is_bigint 函数
检查值是否为 bigint。对于 64-bit范围内的缩放 0 数,is_bigint 函数返回 true。否则,该函数将为所有其他值返回 false,包括 null 和浮点数。
is_bigint 函数是 is_integer 的超集。
Example
以下查询显示 is_bigint 函数。
CREATE TABLE t(s super); INSERT INTO t VALUES (5); SELECT s, is_bigint(s) FROM t; s is_bigint ---+----------- 5 | True (1 row)