Req #78855 [NEW]: Native PHP types in database fetches
| From: | olegxx at gmail dot com | Date: | Fri, 22 Nov 2019 10:51:40 +0000 |
| Subject: | Req #78855 [NEW]: Native PHP types in database fetches | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223842@lists.php.net to get a copy of this message | ||
From: olegxx at gmail dot com
Operating system: Linux
PHP version: 7.2.25
Package: PostgreSQL related
Bug Type: Feature/Change Request
Bug description:Native PHP types in database fetches
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.
--
Edit bug report at https://bugs.php.net/bug.php?id=78855&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78855&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78855&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78855&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78855&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78855&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78855&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78855&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78855&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78855&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78855&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78855&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78855&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78855&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78855&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78855&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78855&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78855&r=mysqlcfg