Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

1003 B
Raw Blame
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',
}