php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38720 PDO_PGSQL Prepare Bug with the table having Japanese Column Name
Submitted: 2006-09-05 09:00 UTC Modified: 2006-12-13 01:00 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jun at lmns dot biz Assigned: wez (profile)
Status: No Feedback Package: PDO related
PHP Version: 5.1.6 OS: Debian Etch
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jun at lmns dot biz
New email:
PHP Version: OS:

 

 [2006-09-05 09:00 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-05 09:21 UTC] jun at lmns dot biz
Sorry. 
I use PostgreSQL 8.1.4, Apache 2.0.55 .
 [2006-12-05 19:55 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-12-13 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC