Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ functions
Functions
5,901 in github.com/PostHog/duckgres
⨍
Functions
5,901
◇
Types & classes
803
↓ 1 callers
Function
validateSharedWorkerConfig
(data []byte)
controlplane/shared_startup_config.go:62
↓ 1 callers
Function
validatedSchema
(schema string)
tests/perf/publisher/publisher.go:332
↓ 1 callers
Method
visitDelete
(stmt *pg_query.DeleteStmt)
transpiler/transform/boolpredicates.go:116
↓ 1 callers
Method
visitInsert
(stmt *pg_query.InsertStmt)
transpiler/transform/boolpredicates.go:79
↓ 1 callers
Method
visitMerge
(stmt *pg_query.MergeStmt)
transpiler/transform/boolpredicates.go:133
↓ 1 callers
Method
visitSelect
(stmt *pg_query.SelectStmt)
transpiler/transform/boolpredicates.go:52
↓ 1 callers
Method
visitUpdate
(stmt *pg_query.UpdateStmt)
transpiler/transform/boolpredicates.go:99
↓ 1 callers
Function
waitForCacheProxy
waitForCacheProxy blocks until the local cache proxy responds healthy. When the cache is disabled, returns immediately (no-op). If the worker starts
duckdbservice/cache_proxy.go:112
↓ 1 callers
Method
waitForDrain
waitForDrain blocks until both the pgwire and Flight server report zero in-flight work, or the timeout fires. timeout == 0 means unbounded — k8s termi
controlplane/control.go:1720
↓ 1 callers
Function
waitForDuckgres
(ctx context.Context)
scripts/client-compat/clients/pgx/main.go:108
↓ 1 callers
Function
waitForDuckgres
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:92
↓ 1 callers
Method
waitForDuckgres
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:85
↓ 1 callers
Method
waitForDuckgres
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:99
↓ 1 callers
Function
waitForListen
waitForListen blocks until something accepts on the local port (the port-forward is up) or the timeout elapses.
controlplane/admin/devserver/main.go:183
↓ 1 callers
Method
waitForLogCount
(substr string, want int, timeout time.Duration)
tests/controlplane/controlplane_test.go:248
↓ 1 callers
Function
waitForPGWireReady
(dsn string, timeout time.Duration)
tests/perf/harness_test.go:394
↓ 1 callers
Method
waitForPodReady
waitForPodReady waits for a pod to become Running with an IP, using the informer instead of polling the API. Falls back to a single API check in case
controlplane/k8s_pool_spawn.go:461
↓ 1 callers
Method
waitForUpserts
(t *testing.T, count int, timeout time.Duration)
controlplane/runtime_tracker_test.go:39
↓ 1 callers
Function
waitForWorker
waitForWorker polls for the worker socket and creates a Flight SQL client.
controlplane/worker_mgr.go:516
↓ 1 callers
Function
waitForWorkerTCP
waitForWorkerTCP connects to a worker over TCP and verifies its health.
controlplane/k8s_pool_spawn.go:492
↓ 1 callers
Method
waitOperationIdle
(ctx context.Context)
duckdbservice/service.go:277
↓ 1 callers
Function
wait_for_duckgres
()
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:70
↓ 1 callers
Function
wait_for_duckgres
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:109
↓ 1 callers
Function
wait_for_duckgres
Poll duckgres until it's ready.
scripts/client-compat/clients/dbt/test_dbt.py:53
↓ 1 callers
Function
wait_for_duckgres
()
scripts/client-compat/clients/pgadmin/test_pgadmin.py:50
↓ 1 callers
Function
wait_for_duckgres
()
scripts/client-compat/clients/psycopg/test_psycopg.py:39
↓ 1 callers
Function
walkCreateStmt
(stmt *pg_query.CreateStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:393
↓ 1 callers
Function
walkDeleteStmt
(stmt *pg_query.DeleteStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:379
↓ 1 callers
Method
walkForDependencies
walkForDependencies recursively finds CTE references
transpiler/transform/writablecte.go:160
↓ 1 callers
Function
walkInsertStmt
(stmt *pg_query.InsertStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:342
↓ 1 callers
Function
walkSelectStmt
(stmt *pg_query.SelectStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:302
↓ 1 callers
Method
walkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/pgcatalog.go:692
↓ 1 callers
Method
walkSelectStmt
(stmt *pg_query.SelectStmt, paramCount *int, changed *bool)
transpiler/transform/placeholder.go:201
↓ 1 callers
Method
walkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/typecast.go:282
↓ 1 callers
Method
walkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/information_schema.go:238
↓ 1 callers
Method
walkSelectStmt
(stmt *pg_query.SelectStmt, changed *bool)
transpiler/transform/version.go:159
↓ 1 callers
Function
walkUpdateStmt
(stmt *pg_query.UpdateStmt, fn func(*pg_query.Node) bool)
transpiler/transform/transform.go:359
↓ 1 callers
Function
workerContainerStatus
(statuses []corev1.ContainerStatus)
controlplane/k8s_pool_helpers.go:245
↓ 1 callers
Function
workerImageForPod
(pod *corev1.Pod)
controlplane/k8s_pool_reconcile.go:158
↓ 1 callers
Method
workerLeaseDurablyDrainingOrRepair
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1091
↓ 1 callers
Method
workerLeaseLocallyDraining
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1084
↓ 1 callers
Function
workerLifecycleImages
(stats []configstore.WorkerLifecycleStats)
controlplane/pool_metrics.go:74
↓ 1 callers
Function
workerLostEligibleStates
workerLostEligibleStates lists the worker states from which a worker may be moved to `lost`. `draining` is intentionally excluded: a draining row is a
controlplane/configstore/store.go:1765
↓ 1 callers
Method
workerRPCSecretPrefix
()
controlplane/worker_rpc_security.go:99
↓ 1 callers
Method
workerReadyForSchedulingLocked
(w *ManagedWorker)
controlplane/org_reserved_pool.go:443
↓ 1 callers
Method
workerServiceAccountName
()
controlplane/k8s_pool.go:253
↓ 1 callers
Function
wrapBooleanTestWithNullCase
(expr *pg_query.Node, boolTestType pg_query.BoolTestType, location int32)
transpiler/transform/boolpredicates.go:355
↓ 1 callers
Function
writeCommandLogs
(dir, commandName string, result CommandResult, secret string)
tests/scenario/dbt/steps.go:300
↓ 1 callers
Function
writeEvents
(path string, results []StepResult)
tests/scenario/core/artifacts.go:139
↓ 1 callers
Function
writeFixtureCSVFile
(t *testing.T, runDir string)
tests/perf/publisher/publisher_test.go:325
↓ 1 callers
Function
writeFrozenDatasetMetadataArtifact
( outputDir string, datasetVersion string, manifestTable string, catalogPath string, now func() time.Time
tests/perf/harness_artifacts.go:43
↓ 1 callers
Function
writeStepResults
(path string, results []StepResult)
tests/scenario/core/artifacts.go:96
↓ 1 callers
Function
writeSummary
(path string, summary RunSummary)
tests/scenario/core/artifacts.go:79
↓ 1 callers
Method
writeTo
writeTo replays the captured origin response onto w. Any header the origin set that isn't a hop-by-hop is forwarded; status code and body follow.
cmd/cache-proxy/proxy.go:637
Method
AckComputeUsage
(high time.Time)
controlplane/compute_billing_api_test.go:53
Method
AckComputeUsage
AckComputeUsage commits billing's watermark: it advances the cursor to watermarkHigh (monotonically — an older value never moves it backwards) and del
controlplane/configstore/compute_usage.go:152
Method
Acquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:157
Method
Acquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:352
Method
Acquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:361
Method
Acquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/session_mgr_drain_test.go:373
Method
Acquire
(ctx context.Context, request connectionAdmissionRequest, limits func(string) configstore.OrgResourceLimits)
controlplane/org_reserved_pool_reconnect_test.go:20
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/org_router_test.go:22
Method
AcquireWorker
(ctx context.Context, profile *WorkerProfile)
controlplane/org_router_test.go:211
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:26
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:63
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:257
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_drain_test.go:291
Method
AcquireWorker
AcquireWorker returns a worker for a new session.
controlplane/k8s_pool_acquire.go:25
Method
AcquireWorker
(ctx context.Context, _ *WorkerProfile)
controlplane/session_mgr_test.go:34
Function
ActivateDBConnection
ActivateDBConnection applies tenant-specific DuckLake runtime to an already initialized generic DuckDB connection used by a shared warm worker.
server/server.go:1275
Method
ActiveConnections
ActiveConnections returns the number of active connections
server/server.go:698
Function
AddOperatorDialog
({ existing, onClose, }: { existing: Operator[]; onClose: () => void; })
controlplane/admin/ui/src/pages/ConfigStore.tsx:423
Function
AdminGate
({ children, reason = "Requires the admin role", }: { children: ReactElement<{ disabled?: boolean }>;
controlplane/admin/ui/src/components/AdminOnly.tsx:9
Method
AggregateComputeUsage
(low, high time.Time)
controlplane/compute_billing_api_test.go:34
Method
AggregateComputeUsage
AggregateComputeUsage sums every buffered bucket in the half-open window (low, high] into one row per key per UTC day, for the billing pull API. Calle
controlplane/configstore/compute_usage.go:103
Method
AllOrgStats
()
controlplane/multitenant.go:65
Method
AllOrgStats
()
controlplane/admin/live_aggregate_test.go:57
Method
AllSessionStatuses
()
controlplane/multitenant.go:121
Method
AllSessionStatuses
()
controlplane/admin/live_aggregate_test.go:59
Method
AllSessions
()
controlplane/memory_rebalancer_test.go:14
Method
AllSessions
AllSessions returns a snapshot of all active sessions. The returned slice is safe to iterate without holding the lock.
controlplane/session_mgr.go:1051
Method
AllWorkerStatuses
()
controlplane/multitenant.go:88
Method
AllWorkerStatuses
()
controlplane/admin/live_aggregate_test.go:58
Function
App
()
controlplane/admin/ui/src/App.tsx:19
Function
AppShell
({ children }: { children: ReactNode })
controlplane/admin/ui/src/components/AppShell.tsx:5
Function
Audit
()
controlplane/admin/ui/src/pages/Audit.tsx:36
Method
Authenticate
(context.Context, ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:402
Method
AuthenticateBasicToken
(ctx context.Context, username string, password string, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:406
Function
Badge
({ className, variant, ...props }: BadgeProps)
controlplane/admin/ui/src/components/ui/badge.tsx:27
Method
BeginTx
(ctx context.Context, opts *sql.TxOptions)
tests/perf/publisher/publisher.go:80
Method
BeginTx
(context.Context, *sql.TxOptions)
tests/perf/publisher/publisher_test.go:21
Function
BenchmarkClassify
(b *testing.B)
transpiler/transpiler_test.go:4649
Function
BenchmarkClassify_PgCatalog
(b *testing.B)
transpiler/transpiler_test.go:4659
Function
BenchmarkTranspile_CreateTable
(b *testing.B)
transpiler/transpiler_test.go:1886
Function
BenchmarkTranspile_Direct
(b *testing.B)
transpiler/transpiler_test.go:4627
Function
BenchmarkTranspile_OldAllTransforms
(b *testing.B)
transpiler/transpiler_test.go:4638
Function
BenchmarkTranspile_PgCatalog
(b *testing.B)
transpiler/transpiler_test.go:1876
Function
BenchmarkTranspile_SimpleSelect
(b *testing.B)
transpiler/transpiler_test.go:1866
Function
BootstrapBundledExtensions
BootstrapBundledExtensions eagerly seeds bundled extension binaries into the configured extension_directory cache once per data directory.
server/server.go:101
Method
BumpWorkerEpoch
BumpWorkerEpoch satisfies the RuntimeWorkerStore extension added in PR 3. Track-and-return-newepoch so tests can exercise the lifecycle service's Refr
controlplane/k8s_pool_test.go:310
← previous
next →
2,901–3,000 of 5,901, ranked by callers