1--TEST-- 2PostgreSQL pg_result_status() 3--EXTENSIONS-- 4pgsql 5--SKIPIF-- 6<?php include("skipif.inc"); ?> 7--FILE-- 8<?php 9include 'config.inc'; 10 11$db = pg_connect($conn_str); 12 13$sql = "SELECT * FROM ".$table_name." WHERE num = -2"; 14$result = pg_query($db, "BEGIN;END"); 15 16echo pg_result_status($result)."\n"; 17echo pg_result_status($result, PGSQL_STATUS_STRING)."\n"; 18?> 19--EXPECT-- 201 21COMMIT 22