pql show all tables code example
Example 1: show table postgres command
PostgreSQL show tables command
\dt
Example 2: get all tables postgres
SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
ORDER BY table_name;
PostgreSQL show tables command
\dt
SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
ORDER BY table_name;