|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 13:00:01 2025 UTC |
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