[php-src] PR #23920: exp/pdo_pgsql: optimize calls to foreach(columns of the same table) getColumnMeta()

From: Date: Fri, 25 Sep 2026 20:04:27 +0000
Subject: [php-src] PR #23920: exp/pdo_pgsql: optimize calls to foreach(columns of the same table) getColumnMeta()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38822@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23920 Author: outtersg - each call queried the DB to know the name associated with the table's OID: cache the result between two calls - make pdo_pgsql_translate_oid_to_table higher-level, with the last parameter being the handle instead of the raw connection; thus the statement is cleaner, letting the handle do all memory handling on the table oid-to-name translation cache (which by the way is a driver feature more than a statement one) (this is part 4. of https://github.com/php/php-src/pull/23892#issuecomment-5830576301)

« previous php.git-pulls (#38822) next »