pg_meta_data Get meta data for table &reftitle.description; arrayfalsepg_meta_data PgSql\Connectionconnection stringtable_name boolextended&false; pg_meta_data returns table definition for table_name as an array. &reftitle.parameters; connection &pgsql.parameter.connection; table_name The name of the table. extended Flag for returning extended meta data. Default to &false;. &reftitle.returnvalues; An array of the table definition, &return.falseforfailure;. &reftitle.changelog; &Version; &Description; &pgsql.changelog.connection-object; &reftitle.examples; Getting table metadata '; var_dump($meta); echo ''; } ?> ]]> &example.outputs; array(5) { ["num"]=> int(1) ["type"]=> string(7) "varchar" ["len"]=> int(-1) ["not null"]=> bool(false) ["has default"]=> bool(false) } ["year"]=> array(5) { ["num"]=> int(2) ["type"]=> string(4) "int2" ["len"]=> int(2) ["not null"]=> bool(false) ["has default"]=> bool(false) } ["title"]=> array(5) { ["num"]=> int(3) ["type"]=> string(7) "varchar" ["len"]=> int(-1) ["not null"]=> bool(false) ["has default"]=> bool(false) } } ]]> &reftitle.seealso; pg_convert