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
lakeProfile
(name Name, physical string, mapPublicToMain bool)
transpiler/backend/profile.go:104
↓ 1 callers
Method
leastLoadedWorkerLocked
()
controlplane/k8s_pool_acquire.go:812
↓ 1 callers
Method
listModels
(c *gin.Context)
controlplane/admin/models_api.go:131
↓ 1 callers
Method
listOperators
(c *gin.Context)
controlplane/admin/operators_api.go:32
↓ 1 callers
Method
listOrgs
--- Orgs ---
controlplane/admin/api.go:509
↓ 1 callers
Method
listPlaceholderPods
listPlaceholderPods returns the live (non-terminating) placeholder pods.
controlplane/headroom.go:351
↓ 1 callers
Method
listSessions
--- Sessions ---
controlplane/admin/api.go:1178
↓ 1 callers
Method
listUsers
--- Users ---
controlplane/admin/api.go:1008
↓ 1 callers
Function
listWorkerLifecycleStats
(lister workerLifecycleStatsLister)
controlplane/multitenant.go:627
↓ 1 callers
Method
listWorkers
--- Workers ---
controlplane/admin/api.go:1162
↓ 1 callers
Method
liveWorkerCountLocked
()
controlplane/k8s_pool_acquire.go:830
↓ 1 callers
Method
loadCachedCert
()
server/tlscert/acme_dns.go:437
↓ 1 callers
Method
loadFixtures
loadFixtures loads the test schema and data into Duckgres In DuckLake mode, tables are automatically created in ducklake.main because the server runs
tests/integration/harness.go:253
↓ 1 callers
Method
loadPostgresFixtures
loadPostgresFixtures loads the test schema and data into PostgreSQL for comparison tests
tests/integration/harness.go:303
↓ 1 callers
Function
loadQueries
(path string)
scripts/client-compat/clients/pgx/main.go:122
↓ 1 callers
Function
loadQueries
(path = "/queries.yaml")
scripts/client-compat/clients/node-postgres/test_node_postgres.js:86
↓ 1 callers
Method
loadQueries
(String path)
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:349
↓ 1 callers
Method
loadQueries
(String path)
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:114
↓ 1 callers
Function
loadQueryResults
(path string)
tests/perf/publisher/publisher.go:174
↓ 1 callers
Function
loadSummary
(path string)
tests/perf/publisher/publisher.go:138
↓ 1 callers
Function
loadTableSchemas
(ctx context.Context, s *flightClientSession, cmd flightsql.GetTables)
server/flightsqlingress/ingress.go:2148
↓ 1 callers
Function
load_queries
Load query definitions from YAML into the queries table.
scripts/client-compat/results_gatherer.py:65
↓ 1 callers
Function
load_queries
(path="/queries.yaml")
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:33
↓ 1 callers
Function
load_queries
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:123
↓ 1 callers
Function
load_queries
(path="/queries.yaml")
scripts/client-compat/clients/pgadmin/test_pgadmin.py:34
↓ 1 callers
Function
load_queries
(path="/queries.yaml")
scripts/client-compat/clients/harlequin/test_harlequin.py:21
↓ 1 callers
Function
load_queries
(path="/queries.yaml")
scripts/client-compat/clients/psycopg/test_psycopg.py:23
↓ 1 callers
Function
loginHandler
(tokens TokenSet)
controlplane/admin/dashboard.go:102
↓ 1 callers
Function
main
(argv: list[str] | None = None)
scripts/test_impact_plan.py:540
↓ 1 callers
Function
main
()
scripts/client-compat/results_gatherer.py:274
↓ 1 callers
Function
main
()
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:354
↓ 1 callers
Function
main
()
scripts/client-compat/clients/dbt/test_dbt.py:208
↓ 1 callers
Function
main
()
scripts/client-compat/clients/pgadmin/test_pgadmin.py:276
↓ 1 callers
Function
main
()
scripts/client-compat/clients/harlequin/test_harlequin.py:238
↓ 1 callers
Function
main
()
scripts/client-compat/clients/psycopg/test_psycopg.py:337
↓ 1 callers
Function
main
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:339
↓ 1 callers
Function
makeShutdownCtx
()
controlplane/control.go:689
↓ 1 callers
Method
mapTypeOIDWithColumnName
(colName string, colType ColumnTyper)
server/conn_results.go:227
↓ 1 callers
Method
mapTypeSizeWithColumnName
(colName string, colType ColumnTyper)
server/conn_results.go:235
↓ 1 callers
Method
markWorkerDrainingFromHealth
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1136
↓ 1 callers
Function
mergeOrgStats
mergeOrgStats folds each peer's ClusterStatus into the local per-org stats: active_sessions and workers are both summed across CPs (each reports only
controlplane/admin/live_aggregate.go:73
↓ 1 callers
Method
metadataMetricsLoop
metadataMetricsLoop periodically scrapes observability signals about the DuckLake metadata Postgres from the worker's DuckDB instance and emits them a
duckdbservice/service.go:729
↓ 1 callers
Function
methodVariant
(m: string)
controlplane/admin/ui/src/pages/Audit.tsx:23
↓ 1 callers
Function
metricHasLabels
(metric *dto.Metric, labels map[string]string)
controlplane/pool_metrics_test.go:310
↓ 1 callers
Method
monitorChild
monitorChild waits for a child process to exit and handles cleanup. This should be called in a goroutine after spawnChild.
server/parent.go:236
↓ 1 callers
Function
monthDayNanoToInterval
(val arrow.MonthDayNanoInterval)
server/flightclient/flight_executor.go:854
↓ 1 callers
Function
mountPeepernetes
(root: HTMLElement)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:21
↓ 1 callers
Function
needsArrayQuoting
needsArrayQuoting returns true if a string value needs quoting inside a PostgreSQL array literal
server/conn_results.go:460
↓ 1 callers
Function
needsQuoting
(s string)
internal/cliboot/logging.go:69
↓ 1 callers
Method
needsRenewal
()
server/tlscert/acme_dns.go:186
↓ 1 callers
Function
newClusterPeerFetcher
(clientset kubernetes.Interface, namespace, selfPod, internalSecret string, port int)
controlplane/live_aggregator.go:40
↓ 1 callers
Function
newJanitorLeaderManagerFromClients
( namespace, leaseName, identity string, coreClient corev1client.CoreV1Interface, coordClient coordinationv
controlplane/janitor_leader_k8s.go:86
↓ 1 callers
Function
newK8sWorkerPool
newK8sWorkerPool is the internal constructor that accepts an injectable clientset (for testing).
controlplane/k8s_pool.go:140
↓ 1 callers
Function
newKafkaGoQueryLogProducer
(cfg QueryLogConfig)
server/querylog_kafka.go:351
↓ 1 callers
Function
newQueryLogDuckLakeConfigResolver
(ctx context.Context, cfg server.Config, resolved configresolve.Resolved)
querylog_writer_mode_kubernetes.go:146
↓ 1 callers
Function
newQueryLogKafkaEvent
(entry QueryLogEntry, emittedAt time.Time, eventID string)
server/querylog_kafka.go:313
↓ 1 callers
Function
newQueryLogKafkaPartitionBatches
()
server/querylog_kafka_writer.go:520
↓ 1 callers
Function
newSessionLifecycle
()
controlplane/session_lifecycle.go:17
↓ 1 callers
Function
newStringSecret
(namespace, name, key, value string)
controlplane/org_router_test.go:353
↓ 1 callers
Function
newTestConfigStoreWithSnapshot
(snapshot *configstore.Snapshot)
controlplane/org_router_test.go:365
↓ 1 callers
Function
newTokenizer
(s string)
server/usersecrets/classify.go:330
↓ 1 callers
Function
newWorkerLease
newWorkerLease constructs a WorkerLease. Package-private so leases can only be minted by store methods that have actually established ownership.
controlplane/configstore/lifecycle_types.go:101
↓ 1 callers
Function
newWorkerSnapshotPtr
newWorkerSnapshotPtr wraps a *WorkerRecord into a *WorkerSnapshot, or returns nil if the record is nil. Package-private companion to newWorkerSnapshot
controlplane/configstore/lifecycle_types.go:35
↓ 1 callers
Method
nextFlushAt
(flushInterval time.Duration)
server/querylog_kafka_writer.go:573
↓ 1 callers
Function
nextPID
()
server/conn.go:50
↓ 1 callers
Function
nonNegativeInt
(v int)
controlplane/configstore/org_connection_metrics.go:73
↓ 1 callers
Function
nonNegativeInt64
(value int64)
controlplane/pool_metrics.go:92
↓ 1 callers
Function
nonNegativeInt64
(v int64)
controlplane/configstore/org_connection_metrics.go:80
↓ 1 callers
Function
normalizeScenario
(raw rawScenario)
tests/scenario/core/catalog.go:67
↓ 1 callers
Function
normalizeSearchPathSet
(stmt *pg_query.VariableSetStmt)
transpiler/transform/setshow.go:383
↓ 1 callers
Function
normalizeWhitespace
normalizeWhitespace collapses every whitespace run into a single space (and trims leading/trailing whitespace) in a single pass, so Classify's multi-w
transpiler/transpiler.go:692
↓ 1 callers
Function
normalize_pr_files_payload
Flatten GitHub API file payloads from a single page or gh --slurp pages.
scripts/test_impact_plan.py:304
↓ 1 callers
Method
notifySessionsReaped
(trigger string, count int)
server/flightsqlingress/ingress.go:1571
↓ 1 callers
Function
observeActivationFailure
(image string)
controlplane/warm_pool_metrics.go:37
↓ 1 callers
Function
observeHotIdlePersistFailure
observeHotIdlePersistFailure increments the hot_idle persist-failure counter. Empty image falls back to "unknown".
controlplane/worker_lifecycle_metrics_k8s.go:40
↓ 1 callers
Function
observeOrgConnectionAdmission
(d time.Duration, outcome string, stats orgConnectionAdmissionStats)
controlplane/configstore/org_connection_metrics.go:57
↓ 1 callers
Function
observeOrgPgSessionAccepted
(org string, passthrough bool)
controlplane/flight_ingress_metrics_k8s.go:49
↓ 1 callers
Function
observeOrgWorkerCrash
(org string)
controlplane/flight_ingress_metrics_k8s.go:45
↓ 1 callers
Function
observeWorkerConnPoolWedge
()
controlplane/flight_ingress_metrics.go:114
↓ 1 callers
Function
observeWorkerSessionCapDrift
()
controlplane/flight_ingress_metrics.go:110
↓ 1 callers
Function
openConnToPort
openConnToPort opens a fresh connection to a duckgres server on the given port.
tests/integration/ducklake_concurrency_test.go:102
↓ 1 callers
Function
openDB
(cfg Config)
tests/perf/publisher/publisher.go:107
↓ 1 callers
Function
operatorName
(aexpr *pg_query.A_Expr)
transpiler/transform/boolpredicates.go:288
↓ 1 callers
Function
orderedParamValues
(params map[string]any)
tests/perf/core/runner.go:158
↓ 1 callers
Method
orgIDForConnectionRequest
(tx *gorm.DB, queueTable, requestID string)
controlplane/configstore/org_connections.go:192
↓ 1 callers
Method
orgIDs
()
server/querylog_kafka_writer.go:505
↓ 1 callers
Method
orgLen
(partition int, orgID string)
server/querylog_kafka_writer.go:548
↓ 1 callers
Function
orgToForm
(o: { max_workers: number; max_vcpus: number; default_worker_cpu: string; default_worker_memory: strin
controlplane/admin/ui/src/pages/OrgDetail.tsx:48
↓ 1 callers
Function
outgoingAuthContext
(username, password string)
server/flightsqlingress/ingress_test.go:264
↓ 1 callers
Function
ownPodIPs
ownPodIPs collects this pod's own IPs (POD_IP downward-API env if present, plus the non-loopback interface addresses). Used to exclude self from the p
controlplane/live_aggregator.go:58
↓ 1 callers
Method
parseBinaryCopyAndInsert
parseBinaryCopyAndInsert parses PostgreSQL binary COPY format data and inserts rows. Uses the DuckDB Appender API for full-column inserts (fast path),
server/conn_copy.go:1181
↓ 1 callers
Function
parseCatalogFile
(step core.Step, file string)
tests/scenario/sql/steps.go:281
↓ 1 callers
Function
parseCommandName
(name string)
tests/scenario/dbt/steps.go:285
↓ 1 callers
Method
parseCopyLine
parseCopyLine parses a line of COPY input
server/conn_copy.go:1349
↓ 1 callers
Function
parseDur
(s: string)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:239
↓ 1 callers
Function
parseLatencies
parseLatencies parses DUCKGRES_BENCH_LATENCIES env var into a sorted list of millisecond values. Default: [0] (no artificial latency). Format: comma-s
tests/integration/ducklake_concurrency_test.go:80
↓ 1 callers
Function
parseLogLevel
parseLogLevel returns the slog.Level for the DUCKGRES_LOG_LEVEL env var. Supported values: debug, info, warn, error. Defaults to info.
internal/cliboot/logging.go:246
↓ 1 callers
Function
parseMapType
parseMapType parses a DuckDB MAP type string into an Arrow MapType.
duckdbservice/arrowmap/arrowmap.go:242
↓ 1 callers
Function
parsePGArrayLiteral
parsePGArrayLiteral parses a one-dimensional Postgres array literal '{...}'. It handles unquoted elements, double-quoted elements (with \" and \\ esca
transpiler/transform/typecast.go:651
↓ 1 callers
Function
parseResultRow
(record []string)
tests/perf/publisher/publisher.go:208
← previous
next →
2,501–2,600 of 5,901, ranked by callers