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

Shreerang Patwardhan patwardhan.shreerang at gmail.com
Sat Mar 27 08:20:00 IST 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.

Shreerang Patwardhan.

More information about the Plug-mail mailing list