1--TEST-- 2PostgreSQL pg_delete() 3--SKIPIF-- 4<?php include("skipif.inc"); ?> 5--FILE-- 6<?php 7error_reporting(E_ALL); 8 9include 'config.inc'; 10 11$db = pg_connect($conn_str); 12 13$fields = array('num'=>'1234', 'str'=>'XXX', 'bin'=>'YYY'); 14$ids = array('num'=>'1234'); 15if (!pg_delete($db, $table_name, $ids)) { 16 echo "Error\n"; 17} 18else { 19 echo "Ok\n"; 20} 21?> 22--EXPECT-- 23Ok 24