note 105425 deleted from function.pg-fetch-assoc by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Aug 2011 15:33:25 +0000 |
| Subject: | note 105425 deleted from function.pg-fetch-assoc by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182529@lists.php.net to get a copy of this message | ||
Note Submitter: tester at beans
----
php 5.3.3 windows
for some reason pg_fetch_assoc seems to truncate field names at the 63rd character in resulting
rows.
eg:
for a field aliased as:
"primary.b1_can_flex_face_fascia_removed_to_reveal_flat_metal_label"
the key in the array returned in pg_fetch_assoc is
strlen = (63) primary.architectural_restrictions_that_prohibit_installation_l
always truncated at the same spot for fields with keys of this length. This leads to unexpected
results when iterating through field result sets...