Edit report at https://bugs.php.net/bug.php?id=48532&edit=1

 ID:                 48532
 Updated by:         yohg...@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

Reply via email to