php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/pgsql/tests/ |
files >> //php-7.1.11/ext/pgsql/tests/11pg_meta_data.phpt |
--TEST-- PostgreSQL pg_metadata() --SKIPIF-- <?php include("skipif.inc"); ?> --FILE-- <?php error_reporting(E_ALL); include 'config.inc'; $db = pg_connect($conn_str); $meta = pg_meta_data($db, $table_name); var_dump($meta); ?> --EXPECT-- array(3) { ["num"]=> array(7) { ["num"]=> int(1) ["type"]=> string(4) "int4" ["len"]=> int(4) ["not null"]=> bool(false) ["has default"]=> bool(false) ["array dims"]=> int(0) ["is enum"]=> bool(false) } ["str"]=> array(7) { ["num"]=> int(2) ["type"]=> string(4) "text" ["len"]=> int(-1) ["not null"]=> bool(false) ["has default"]=> bool(false) ["array dims"]=> int(0) ["is enum"]=> bool(false) } ["bin"]=> array(7) { ["num"]=> int(3) ["type"]=> string(5) "bytea" ["len"]=> int(-1) ["not null"]=> bool(false) ["has default"]=> bool(false) ["array dims"]=> int(0) ["is enum"]=> bool(false) } }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`