Annotation of embedaddon/php/ext/pgsql/tests/07optional.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: PostgreSQL optional functions
        !             3: --SKIPIF--
        !             4: <?php include("skipif.inc"); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: // optional functions
        !             8: 
        !             9: include('config.inc');
        !            10: 
        !            11: $db = pg_connect($conn_str);
        !            12: $enc = pg_client_encoding($db);
        !            13: 
        !            14: pg_set_client_encoding($db, $enc);
        !            15: 
        !            16: if (function_exists('pg_set_error_verbosity')) {
        !            17:        pg_set_error_verbosity(PGSQL_ERRORS_TERSE);
        !            18:        pg_set_error_verbosity(PGSQL_ERRORS_DEFAULT);
        !            19:        pg_set_error_verbosity(PGSQL_ERRORS_VERBOSE);
        !            20: }
        !            21: echo "OK";
        !            22: ?>
        !            23: --EXPECT--
        !            24: OK

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>