Re: attndims, typndims still not enforced, but make the value within a sane threshold

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: attndims, typndims still not enforced, but make the value within a sane threshold
Дата
Msg-id 413465.1733894151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: attndims, typndims still not enforced, but make the value within a sane threshold  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Michael Paquier <michael@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



В списке pgsql-hackers по дате отправления: