Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I get a list of tables, or other things I can see in psql?

list PSQL tables
0
Posted

How do I get a list of tables, or other things I can see in psql?

0

You can read the source code for psql in file pgsql/src/bin/psql/describe.c. It contains SQL commands that generate the output for psql’s backslash commands. You can also start psql with the -E option so it will print out the queries it uses to execute the commands you give.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.