Forbid changing type if the rowtype is used in a foreign table

Because the foreign table's statistics could have datums in the old
format.

For all reporters and public discussions, see previous commits.

Co-authored-by: Nikhil Sontakke <[email protected]>
Reviewed-by: Amit Langote <[email protected]>
Reviewed-by: Andres Freund <[email protected]>
Security: CVE-2026-6460
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f3cef207b9d1293a964610108964eb99c322ba68
Author: Heikki Linnakangas <[email protected]>

Modified Files
--------------
src/backend/commands/tablecmds.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Reply via email to