php.net |  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
Votes:1
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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)";

pg_exec($conn,$sql);
pg_exec($conn,$sql2);

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 07:01:24 2020 UTC