From:             jeannielu at hotmail dot com
Operating system: redhat 9
PHP version:      4.3.11
PHP Bug Type:     PostgreSQL related
Bug description:  pg_affected_rows(): Not supported

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.

-- 
Edit bug report at http://bugs.php.net/?id=32699&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32699&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32699&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32699&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32699&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32699&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32699&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32699&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32699&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32699&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32699&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32699&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32699&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32699&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32699&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32699&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32699&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32699&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32699&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32699&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32699&r=mysqlcfg

Reply via email to