MCPcopy Create free account
hub / github.com/PostHog/duckgres / bootstrapBundledExtensions

Function bootstrapBundledExtensions

server/server.go:82–97  ·  view source on GitHub ↗
(dataDir string)

Source from the content-addressed store, hash-verified

80 CheckAndBackupDuckLakeMigration = ducklake.CheckAndBackupMigration
81 BackupDuckLakeMetadata = ducklake.BackupMetadata
82 DefaultDeltaCatalogPath = ducklake.DefaultDeltaCatalogPath
83)
84
85// processStartTime is captured at process init, used to distinguish server vs child process uptime.
86var processStartTime = time.Now()
87
88// processVersion is set from main() via SetProcessVersion. Defaults to "dev".
89var processVersion = "dev"
90
91// startupReadTimeout bounds pre-TLS startup negotiation reads to avoid stalled
92// clients pinning connection goroutines indefinitely.
93var startupReadTimeout = 30 * time.Second
94
95var bundledDuckDBExtensionsDir = "/app/extensions"
96
97var bundledExtensionBootstrap struct {
98 mu sync.Mutex
99 byPath map[string]error
100}

Calls 1

seedBundledExtensionsFunction · 0.85