Michael Paquier <mich...@paquier.xyz> writes: > FWIW, my first thought after reading this paragraph is that you sound > too dramatic here, especially after looking at codesearch to note that > the PHP core code stores attndims but does not actually use it.
It appeared to me that it fetches it in order to return it in an application inquiry function [1]. So to really gauge the damage, you'd have to find out how many PHP applications pay attention to the "array dims" field of pg_meta_data(). Maybe it's a trivial number, or maybe not --- I didn't have the energy to search. regards, tom lane [1] https://sources.debian.org/src/php8.2/8.2.26-4/ext/pgsql/pgsql.c/?hl=4245#L4245