Postgres SQL Command - PythonDeveloperNotes/heroku GitHub Wiki

SELECT datname FROM pg_database;

SELECT * FROM pg_catalog.pg_tables;
select * from auth_user;

SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND
    schemaname != 'information_schema';