I want to describe every table in a postgres database.
Currently I have this:
psql -d db -c "\d *" > db_description.txt
But this also includes all sequences, views, etc.
Is there a command where the *
pattern only matches tables?
Or is there another way to do this?