Files
supabase/apps/studio/components/interfaces/Database/Extensions/Extensions.constants.ts
Ali Waseem 93f83651ee chore(studio): hide wal2json from extensions list (#47643)
## What kind of change does this PR introduce?


Adds `'wal2json'` to `HIDDEN_EXTENSIONS` so it's filtered out of the
extensions list in the Dashboard, matching how other non-user-facing
extensions (e.g. `pg_stat_monitor`, `supautils`) are already hidden.

## Summary by CodeRabbit

* **Bug Fixes**
* Updated the list of hidden database extensions so `wal2json` no longer
appears in places where hidden extensions are excluded.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-06 14:35:12 +00:00

36 lines
1003 B
TypeScript

export const HIDDEN_EXTENSIONS = [
'adminpack',
'amcheck',
'file_fdw',
'lo',
'old_snapshot',
'pageinspect',
'pg_buffercache',
'pg_freespacemap',
'pg_surgery',
'pg_visibility',
'supabase_vault',
'supautils',
'intagg',
'xml2',
'pg_tle',
'pg_stat_monitor',
'wal2json',
]
export const SEARCH_TERMS: Record<string, string[]> = {
vector: ['pgvector', 'pg_vector'],
pg_partman: ['partman', 'partition', 'partitioned'],
}
export const EXTENSION_DISABLE_WARNINGS: Record<string, string> = {
pg_cron: 'Disabling this extension will delete all scheduled jobs. This cannot be undone.',
pg_partman:
'Disabling this extension will stop automatic partition management for any partitioned queues. New partitions will no longer be created and retention policies will no longer be enforced.',
}
// Extensions that have recommended schemas (rather than required schemas)
export const extensionsWithRecommendedSchemas: Record<string, string> = {
wrappers: 'extensions',
}