非互換
width_bucket () 関数において、返却結果が変わる可能性がある修正が実施されました。
[postgres@VM00056238 ~]$ /opt/fsepv15server64/bin/psql
psql (15.0)
Type "help" for help.
postgres=# SELECT width_bucket(0, -1e100::numeric, 1, 10);
width_bucket
--------------
11
(1 row)
postgres=# SELECT width_bucket(0, -1e100::float8, 1, 10);
width_bucket
--------------
11
(1 row)
postgres=# SELECT width_bucket(1, 1e100::numeric, 0, 10);
width_bucket
--------------
11
(1 row)
postgres=# SELECT width_bucket(1, 1e100::float8, 0, 10);
width_bucket
--------------
11
(1 row)[postgres@VM00057125 ~]$ /opt/fsepv16server64/bin/psql
psql (16devel)
Type "help" for help.
postgres=# SELECT width_bucket(0, -1e100::numeric, 1, 10);
width_bucket
--------------
10
(1 row)
postgres=# SELECT width_bucket(0, -1e100::float8, 1, 10);
width_bucket
--------------
10
(1 row)
postgres=# SELECT width_bucket(1, 1e100::numeric, 0, 10);
width_bucket
--------------
10
(1 row)
postgres=# SELECT width_bucket(1, 1e100::float8, 0, 10);
width_bucket
--------------
10
(1 row)対処方法
ありません。