ID:               38720
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jun at lmns dot biz
-Status:           Open
+Status:           Assigned
 Bug Type:         PDO related
 Operating System: Debian Etch
 PHP Version:      5.1.6
-Assigned To:      
+Assigned To:      wez


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

[2006-09-05 09:21:05] jun at lmns dot biz

Sorry. 
I use PostgreSQL 8.1.4, Apache 2.0.55 .

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

[2006-09-05 09:00:52] jun at lmns dot biz

Description:
------------
I wanna use prepare statement with the table having Japanese column
name.

But in executing this sql query, error is occured.

   select * from hoge where a = :a and JAPANESE_STRING = :b

PREPARE pdo_pgsql_stmt_xxxxxx AS select * from hoge where a = $1 and
JAPANESE_STRING = :b
ERROR: syntax error at or near ":"


Expected result:
----------------
PREPARE pdo_pgsql_stmt_xxxxxx AS select * from hoge where a = $1 and
JAPANESE_STRING = $2



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


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

Reply via email to