ID:               38403
 Updated by:       [EMAIL PROTECTED]
 Reported By:      neta at abcb dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         PDO related
 Operating System: OSX/NetBSD/FreeBSD
 PHP Version:      5.1.4
 New Comment:

Use PDO::quote() to quote binary data before inserting it to the DB.


Previous Comments:
------------------------------------------------------------------------

[2006-08-09 21:05:12] neta at abcb dot it

Description:
------------
Sending TEXT data to PostgreSQL a database, the string gets 
truncated at the first occurrence of \0.

Reproduce code:
---------------
Just try to INSERT "abc\0def" into a TEXT field.

Expected result:
----------------
'abc'



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38403&edit=1

Reply via email to