|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28020 tablenames not double quoted
Submitted: 2004-04-16 05:31 UTC Modified: 2004-04-16 15:09 UTC
From: Marco_de_Wit at wxs dot nl Assigned:
Status: Not a bug Package: PostgreSQL related
PHP Version: 4.3.4 OS: Linux Mandrake 10
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.
Block user comment
Status: Assign to:
Bug Type:
From: Marco_de_Wit at wxs dot nl
New email:
PHP Version: OS:


 [2004-04-16 05:31 UTC] Marco_de_Wit at wxs dot nl
if I make a table with a name like 'user' or 'order', any use with it in SQL should be double quoted for instance:

SELECT * FROM "user";

But pg_insert doesn't do this:
will result in an error showing the tablename 'user' not between double quotes.

Reproduce code:

Actual result:
[Fri Apr 16 11:29:34 2004] [error] PHP Notice:  pg_insert(): Failed to execute 'INSERT INTO user (name,username,password,email,region,number) VALUES ('','','','','',1);'. in /var/www/ on line 90


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-16 15:09 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 14:01:31 2024 UTC