[PLUG] psql command eqivalent to \dt to list tables in a postgresql database

Shreerang Patwardhan patwardhan.shreerang at gmail.com
Fri Mar 26 19:50:00 PDT 2010


Hey all,
    I am using PostgreSQL database. I have a few tables in my database. I
wish to list all of them but not through the psql prompt. I want to list
them through the terminal. \dt is used to list the tables from the psql
prompt. Is there any equivalent command? Like psql -l is used to list all
the databases from the terminal.

Thanx,
Shreerang Patwardhan.


More information about the plug-mail mailing list