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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 08:01:29 2024 UTC