|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-11-22 10:51 UTC] olegxx at gmail dot com
Description: ------------ PostgreSQL extension should return native PHP types (int, bool, string) from database queries as pdo_pgsql does. To maintain backward compatibility, we can add a new result type flag to pg_fetch_array and pg_fetch_all (e.g. PSQL_TYPED) or create new fetch function. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 23:00:01 2025 UTC |
it's simply wrong add a param to each and every function and just to two can't be serious - how do you imagine to port existing code to that without a ton of errors over the time? besides that another quick shot with mor incosntistences given that myqli has solved that years ago ina proper way if(mysqli_options($this->conn, MYSQLI_OPT_INT_AND_FLOAT_NATIVE, TRUE) === FALSE) { $this->error('mysqli_options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE) failed'); }