|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4193 problems with pg_exec
Submitted: 2000-04-20 03:35 UTC Modified: 2005-03-31 16:13 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: juancho at metallica dot com Assigned:
Status: Wont fix Package: PostgreSQL related
PHP Version: 3.0.15 OS: Linux RedHat 6.2
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: juancho at metallica dot com
New email:
PHP Version: OS:


 [2000-04-20 03:35 UTC] juancho at metallica dot com
table with two fields (f1,f2) where the primary key are both fields.

pg_connect("dbname=xxx port=5432");
sql1="insert into table values (1,1)";
sql2="insert into table values (1,2)";


the first pg_exec inserts values 1,0 and the second one tries to insert values 1,0 and produces a duplicate entry warning.

I installed from rpm's, the ones that comes with redhat 6.2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 21:03:37 2021 UTC