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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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)";

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC