On Wed, Dec 11, 2024 at 12:15:51AM -0500, Tom Lane wrote: > 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.
A large scale of these applications are not in the open, so the answer to that is probably a large yes for attndims. Funnily enough, I've worked on a game in PHP that uses Postgres as backend for some hobby project, and actually used this field now that I look at this code again. It was from a long time ago, and that's not in the open, but you get the idea.. -- Michael
signature.asc
Description: PGP signature