Req #48532 [Asn]: Allow pg_fetch_all() to index numerically
| From: | yohgaki@php.net | Date: | Wed, 07 Aug 2013 00:15:52 +0000 |
| Subject: | Req #48532 [Asn]: Allow pg_fetch_all() to index numerically | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180766@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48532&edit=1
ID: 48532
Updated by: yohgaki@php.net
Reported by: strata_ranger at hotmail dot com
Summary: Allow pg_fetch_all() to index numerically
Status: Assigned
Type: Feature/Change Request
Package: PostgreSQL related
PHP Version: 5.2.9
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
Why do you want numeric key?
Previous Comments:
------------------------------------------------------------------------
[2009-06-11 15:10:22] strata_ranger at hotmail dot com
Description:
------------
It could be useful if pg_fetch_all() were extended to support indexing each row's fields
numerically (like pg_fetch_row() does) in addition to the current behavior of indexing them
associatively.
It is possible in some obscure cases that an associative array is unable to contain all columns from
the result set, i.e. if the query returns duplicate column names/aliases.
Reproduce code:
---------------
---
From manual page: function.pg-fetch-all
---
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48532&edit=1