pg_typeofが便利です。
pg_typeof(any)
指定した値のデータ型を取得
select pg_typeof('32767'::smallint + 2); -> integer
Go to list of users who liked
More than 5 years have passed since last update.
pg_typeofが便利です。
pg_typeof(any)
指定した値のデータ型を取得
select pg_typeof('32767'::smallint + 2); -> integer
Register as a new user and use Qiita more conveniently
Go to list of users who liked