phpLens
 home  products examples manual  faq support forum  contact news  login store

Forums: phplens   adodb
Forums:   ADOdb Help & Dev:   Replies 
Search
Topic: Postgresql 9 Adodb blob read problem
author: exaybachay   created: 16-05-2012 02:44:23 AM
Hi. I have problem with correct read blob from Postgresql 9 DB. In Postgresql 8 everything work fine. Now when i send txt file with test content in, when i get Blob from DB i get something like this:
t65737420746573742074657374207465737420746573740a1

In Postgresql 8 and 9 Blob in DB are the same.
It looks like data are coded.

Can anybody have same problem or know how to fix it?
Topic: Re:Postgresql 9 Adodb blob read problem
author: exaybachay   created: 16-05-2012 02:50:09 AM
sory.
test content looks like t6573740a1
Topic: Re:Postgresql 9 Adodb blob read problem
author: exaybachay   created: 16-05-2012 07:37:26 AM
OK. I found solutions. In postgresql 9 default bytea_output is set to hex not to escape.
Page 1
Search

View Source

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800