This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.
⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.
| CREATE OR REPLACE VIEW public.table_sizes AS | |
| WITH tables AS ( | |
| SELECT a.oid, b.nspname, a.relname, a.reltoastrelid, pg_relation_size(a.oid) AS size | |
| FROM pg_class AS a | |
| JOIN pg_namespace AS b ON b.oid = a.relnamespace | |
| WHERE a.relkind = 'r' | |
| AND b.nspname NOT IN ('pg_catalog', 'information_schema')), | |
| indexes AS ( | |
| SELECT i.oid, n.nspname, i.relname AS idxname, c.oid AS reloid, c.relname AS relname, | |
| pg_relation_size(i.oid) AS size |
| WITH table_scans as ( | |
| SELECT relid, | |
| tables.idx_scan + tables.seq_scan as all_scans, | |
| ( tables.n_tup_ins + tables.n_tup_upd + tables.n_tup_del ) as writes, | |
| pg_relation_size(relid) as table_size | |
| FROM pg_stat_user_tables as tables | |
| ), | |
| all_writes as ( | |
| SELECT sum(writes) as total_writes | |
| FROM table_scans |