note 105425 added to function.pg-fetch-assoc

From: Date: Tue, 16 Aug 2011 21:32:45 +0000
Subject: note 105425 added to function.pg-fetch-assoc
Groups: php.notes 
Request: Send a blank email to php-notes+get-182519@lists.php.net to get a copy of this message
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... ---- Server IP: 69.147.83.197 Probable Submitter: 76.14.99.95 ---- Manual Page -- http://www.php.net/manual/en/function.pg-fetch-assoc.php Edit -- https://master.php.net/note/edit/105425 Del: integrated -- https://master.php.net/note/delete/105425/integrated Del: useless -- https://master.php.net/note/delete/105425/useless Del: bad code -- https://master.php.net/note/delete/105425/bad+code Del: spam -- https://master.php.net/note/delete/105425/spam Del: non-english -- https://master.php.net/note/delete/105425/non-english Del: in docs -- https://master.php.net/note/delete/105425/in+docs Del: other reasons-- https://master.php.net/note/delete/105425 Reject -- https://master.php.net/note/reject/105425 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182519) next »