sudo -i -u postgres
createdb xxx
/q
\l
\c xxx
select * from pg_catalog.pg_tables;
select column_name, data_type, character_maximum_length from INFORMATION_SCHEMA.COLUMNS where table_name = '';
sudo -i -u postgres
createdb xxx
/q
\l
\c xxx
select * from pg_catalog.pg_tables;
select column_name, data_type, character_maximum_length from INFORMATION_SCHEMA.COLUMNS where table_name = '';