Files
supabase/apps/studio/components/interfaces/Database/Extensions/Extensions.constants.ts
T
2026-03-30 11:14:05 -06:00

35 lines
989 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',
]
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',
}