Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

Display only table names in psql

$
0
0

How can I print only table names from a specified database in psql? That is, if I have tables called “table1″ and “table2″ then the output will be:

table1
table2

and only that. I’ve been trying various combinations of things, but it seems like it should be a lot easier than I’m making it.


Viewing all articles
Browse latest Browse all 1138

Trending Articles