Extensions.constants.ts 987 B

12345678910111213141516171819202122232425262728293031323334
  1. export const HIDDEN_EXTENSIONS = [
  2. 'adminpack',
  3. 'amcheck',
  4. 'file_fdw',
  5. 'lo',
  6. 'old_snapshot',
  7. 'pageinspect',
  8. 'pg_buffercache',
  9. 'pg_freespacemap',
  10. 'pg_surgery',
  11. 'pg_visibility',
  12. 'briven_vault',
  13. 'supautils',
  14. 'intagg',
  15. 'xml2',
  16. 'pg_tle',
  17. 'pg_stat_monitor',
  18. ]
  19. export const SEARCH_TERMS: Record<string, string[]> = {
  20. vector: ['pgvector', 'pg_vector'],
  21. pg_partman: ['partman', 'partition', 'partitioned'],
  22. }
  23. export const EXTENSION_DISABLE_WARNINGS: Record<string, string> = {
  24. pg_cron: 'Disabling this extension will delete all scheduled jobs. This cannot be undone.',
  25. pg_partman:
  26. '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.',
  27. }
  28. // Extensions that have recommended schemas (rather than required schemas)
  29. export const extensionsWithRecommendedSchemas: Record<string, string> = {
  30. wrappers: 'extensions',
  31. }