Bug #4193: problems with pg_exec

From: Date: Thu, 20 Apr 2000 01:35:23 +0000
Subject: Bug #4193: problems with pg_exec
Groups: php.dev 
Request: Send a blank email to php-dev+get-18049@lists.php.net to get a copy of this message
From: juancho@metallica.com Operating system: Linux RedHat 6.2 PHP version: 3.0.15 PHP Bug Type: PostgreSQL related Bug description: problems with pg_exec 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

« previous php.dev (#18049) next »