Uzyskaj wszystkie tabele postgres
SELECT * FROM pg_catalog.pg_tables;
Colorful Centipede
SELECT * FROM pg_catalog.pg_tables;
SELECT *
FROM INFORMATION_SCHEMA.tables
where table_schema = 'public';
SELECT table_name
FROM information_schema.tables
WHERE table_schema='public'
AND table_type='BASE TABLE';
postgres=# \d tablename;
SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND
schemaname != 'information_schema';
Code language: SQL (Structured Query Language) (sql)