- Get tables and columns - `psql -h -U root -d -p 543-c "SELECT tablename, columnname FROM PG_TABLE_DEF where schemaname ='public'"`