mirror of
https://github.com/php/php-src.git
synced 2024-10-14 13:02:37 +00:00
13 lines
252 B
PHP
13 lines
252 B
PHP
|
<?php
|
||
|
include 'config.inc';
|
||
|
|
||
|
$db = pg_connect($conn_str);
|
||
|
|
||
|
$sql = "SELECT * FROM ".$table_name." WHERE num = -2";
|
||
|
$result = pg_query($db, "BEGIN;END");
|
||
|
|
||
|
echo pg_result_status($result)."\n";
|
||
|
echo pg_result_status($result, PGSQL_STATUS_STRING)."\n";
|
||
|
|
||
|
|
||
|
?>
|