-1

I need to the SQL command to list all the master tables in the Postgresql database.

I have logged into a database called OpenBravo and when I run the command

\dt

It shows all the tables created in that database. I want to see the list of tables prefixed with pg_ which are master tables carrying the schematic details I believe

I reemphasize that I need only the tables with pg_ prefix not all the tables

Rinsad Ahmed
  • 1,877
  • 1
  • 10
  • 28

1 Answers1

0

Another contributor from another forum gave the right answer

You can use this command: \dt pg_*

Some people downvote and mark it duplicate without the right experiment. SO should take action against them.

Rinsad Ahmed
  • 1,877
  • 1
  • 10
  • 28