1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00
Files
postgres/src
Fujii Masao e75fcc9867 Mark GUC-dependent type output functions as STABLE
byteaout and pg_mcv_list_out depend on bytea_output GUC, while
float4out, float8out, and the geometric type output functions depend
on extra_float_digits GUC. The BRIN minmax-multi summary output
function also calls the summarized type's output function, so its result
can depend on the type's output settings.

Mark these functions STABLE instead of IMMUTABLE to reflect their
dependence on session settings. This prevents them from being used in
expressions that require immutability, such as expression indexes,
generated columns, and partition keys.

Do not backpatch, since this changes catalog entries and can break
existing schemas that rely on these output functions being immutable.

Bump catalog version.

Reported-by: 放空 <jj-zhang25@mails.tsinghua.edu.cn>
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/19644-d6db3fb5e5ad92f4@postgresql.org
2026-10-20 15:07:11 +09:00
..
2026-10-19 17:51:30 -04:00
2026-10-07 08:41:48 +02:00
2026-10-07 14:33:14 +02:00
2026-10-19 17:51:30 -04:00
2026-04-06 21:55:08 +02:00
2026-02-23 13:34:22 -05:00
2026-01-01 13:24:10 -05:00