I'm fetching data from a PostgreSQL database. All is working fine, however i want to select the size of the data_type as well however i cant get that to work. Please help Here's my query:
$result2 = pg_query($dbconn, "SELECT table_name as tabela, column_name as campo, data_type as tipo from information_schema.columns where table_schema = 'public'");