|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-13 23:01 UTC] tony2001@php.net
[2005-04-13 23:33 UTC] sniper@php.net
[2005-04-13 23:47 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Warning: pg_affected_rows(): Not supported under this build Reproduce code: --------------- $conn = @pg_connect("<...>"); $result = pg_query($conn, "INSERT INTO settings VALUES (0, 1, 'a', 'b')"); $cmdtuples = pg_affected_rows($result); echo $cmdtuples . " tuples are affected.\n"; Expected result: ---------------- it prints: 1 tuples are affected Actual result: -------------- it prints: Warning: pg_affected_rows(): Not supported under this build in /www/x.php on line 4 0 tuples are affected.