Extensions.constants.ts34 lines · main
| 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 | |
| 20 | export const SEARCH_TERMS: Record<string, string[]> = { |
| 21 | vector: ['pgvector', 'pg_vector'], |
| 22 | pg_partman: ['partman', 'partition', 'partitioned'], |
| 23 | } |
| 24 | |
| 25 | export const EXTENSION_DISABLE_WARNINGS: Record<string, string> = { |
| 26 | pg_cron: 'Disabling this extension will delete all scheduled jobs. This cannot be undone.', |
| 27 | pg_partman: |
| 28 | '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.', |
| 29 | } |
| 30 | |
| 31 | // Extensions that have recommended schemas (rather than required schemas) |
| 32 | export const extensionsWithRecommendedSchemas: Record<string, string> = { |
| 33 | wrappers: 'extensions', |
| 34 | } |