MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

↓ 1 callersFunctionlakeProfile
(name Name, physical string, mapPublicToMain bool)
transpiler/backend/profile.go:104
↓ 1 callersMethodleastLoadedWorkerLocked
()
controlplane/k8s_pool_acquire.go:812
↓ 1 callersMethodlistModels
(c *gin.Context)
controlplane/admin/models_api.go:131
↓ 1 callersMethodlistOperators
(c *gin.Context)
controlplane/admin/operators_api.go:32
↓ 1 callersMethodlistOrgs
--- Orgs ---
controlplane/admin/api.go:509
↓ 1 callersMethodlistPlaceholderPods
listPlaceholderPods returns the live (non-terminating) placeholder pods.
controlplane/headroom.go:351
↓ 1 callersMethodlistSessions
--- Sessions ---
controlplane/admin/api.go:1178
↓ 1 callersMethodlistUsers
--- Users ---
controlplane/admin/api.go:1008
↓ 1 callersFunctionlistWorkerLifecycleStats
(lister workerLifecycleStatsLister)
controlplane/multitenant.go:627
↓ 1 callersMethodlistWorkers
--- Workers ---
controlplane/admin/api.go:1162
↓ 1 callersMethodliveWorkerCountLocked
()
controlplane/k8s_pool_acquire.go:830
↓ 1 callersMethodloadCachedCert
()
server/tlscert/acme_dns.go:437
↓ 1 callersMethodloadFixtures
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 callersMethodloadPostgresFixtures
loadPostgresFixtures loads the test schema and data into PostgreSQL for comparison tests
tests/integration/harness.go:303
↓ 1 callersFunctionloadQueries
(path string)
scripts/client-compat/clients/pgx/main.go:122
↓ 1 callersFunctionloadQueries
(path = "/queries.yaml")
scripts/client-compat/clients/node-postgres/test_node_postgres.js:86
↓ 1 callersMethodloadQueries
(String path)
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:349
↓ 1 callersMethodloadQueries
(String path)
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:114
↓ 1 callersFunctionloadQueryResults
(path string)
tests/perf/publisher/publisher.go:174
↓ 1 callersFunctionloadSummary
(path string)
tests/perf/publisher/publisher.go:138
↓ 1 callersFunctionloadTableSchemas
(ctx context.Context, s *flightClientSession, cmd flightsql.GetTables)
server/flightsqlingress/ingress.go:2148
↓ 1 callersFunctionload_queries
Load query definitions from YAML into the queries table.
scripts/client-compat/results_gatherer.py:65
↓ 1 callersFunctionload_queries
(path="/queries.yaml")
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:33
↓ 1 callersFunctionload_queries
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:123
↓ 1 callersFunctionload_queries
(path="/queries.yaml")
scripts/client-compat/clients/pgadmin/test_pgadmin.py:34
↓ 1 callersFunctionload_queries
(path="/queries.yaml")
scripts/client-compat/clients/harlequin/test_harlequin.py:21
↓ 1 callersFunctionload_queries
(path="/queries.yaml")
scripts/client-compat/clients/psycopg/test_psycopg.py:23
↓ 1 callersFunctionloginHandler
(tokens TokenSet)
controlplane/admin/dashboard.go:102
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
scripts/test_impact_plan.py:540
↓ 1 callersFunctionmain
()
scripts/client-compat/results_gatherer.py:274
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:354
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/dbt/test_dbt.py:208
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/pgadmin/test_pgadmin.py:276
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/harlequin/test_harlequin.py:238
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/psycopg/test_psycopg.py:337
↓ 1 callersFunctionmain
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:339
↓ 1 callersFunctionmakeShutdownCtx
()
controlplane/control.go:689
↓ 1 callersMethodmapTypeOIDWithColumnName
(colName string, colType ColumnTyper)
server/conn_results.go:227
↓ 1 callersMethodmapTypeSizeWithColumnName
(colName string, colType ColumnTyper)
server/conn_results.go:235
↓ 1 callersMethodmarkWorkerDrainingFromHealth
(lease workerLeaseSnapshot)
controlplane/k8s_pool_lifecycle.go:1136
↓ 1 callersFunctionmergeOrgStats
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 callersMethodmetadataMetricsLoop
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 callersFunctionmethodVariant
(m: string)
controlplane/admin/ui/src/pages/Audit.tsx:23
↓ 1 callersFunctionmetricHasLabels
(metric *dto.Metric, labels map[string]string)
controlplane/pool_metrics_test.go:310
↓ 1 callersMethodmonitorChild
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 callersFunctionmonthDayNanoToInterval
(val arrow.MonthDayNanoInterval)
server/flightclient/flight_executor.go:854
↓ 1 callersFunctionmountPeepernetes
(root: HTMLElement)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:21
↓ 1 callersFunctionneedsArrayQuoting
needsArrayQuoting returns true if a string value needs quoting inside a PostgreSQL array literal
server/conn_results.go:460
↓ 1 callersFunctionneedsQuoting
(s string)
internal/cliboot/logging.go:69
↓ 1 callersMethodneedsRenewal
()
server/tlscert/acme_dns.go:186
↓ 1 callersFunctionnewClusterPeerFetcher
(clientset kubernetes.Interface, namespace, selfPod, internalSecret string, port int)
controlplane/live_aggregator.go:40
↓ 1 callersFunctionnewJanitorLeaderManagerFromClients
( namespace, leaseName, identity string, coreClient corev1client.CoreV1Interface, coordClient coordinationv
controlplane/janitor_leader_k8s.go:86
↓ 1 callersFunctionnewK8sWorkerPool
newK8sWorkerPool is the internal constructor that accepts an injectable clientset (for testing).
controlplane/k8s_pool.go:140
↓ 1 callersFunctionnewKafkaGoQueryLogProducer
(cfg QueryLogConfig)
server/querylog_kafka.go:351
↓ 1 callersFunctionnewQueryLogDuckLakeConfigResolver
(ctx context.Context, cfg server.Config, resolved configresolve.Resolved)
querylog_writer_mode_kubernetes.go:146
↓ 1 callersFunctionnewQueryLogKafkaEvent
(entry QueryLogEntry, emittedAt time.Time, eventID string)
server/querylog_kafka.go:313
↓ 1 callersFunctionnewQueryLogKafkaPartitionBatches
()
server/querylog_kafka_writer.go:520
↓ 1 callersFunctionnewSessionLifecycle
()
controlplane/session_lifecycle.go:17
↓ 1 callersFunctionnewStringSecret
(namespace, name, key, value string)
controlplane/org_router_test.go:353
↓ 1 callersFunctionnewTestConfigStoreWithSnapshot
(snapshot *configstore.Snapshot)
controlplane/org_router_test.go:365
↓ 1 callersFunctionnewTokenizer
(s string)
server/usersecrets/classify.go:330
↓ 1 callersFunctionnewWorkerLease
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 callersFunctionnewWorkerSnapshotPtr
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 callersMethodnextFlushAt
(flushInterval time.Duration)
server/querylog_kafka_writer.go:573
↓ 1 callersFunctionnextPID
()
server/conn.go:50
↓ 1 callersFunctionnonNegativeInt
(v int)
controlplane/configstore/org_connection_metrics.go:73
↓ 1 callersFunctionnonNegativeInt64
(value int64)
controlplane/pool_metrics.go:92
↓ 1 callersFunctionnonNegativeInt64
(v int64)
controlplane/configstore/org_connection_metrics.go:80
↓ 1 callersFunctionnormalizeScenario
(raw rawScenario)
tests/scenario/core/catalog.go:67
↓ 1 callersFunctionnormalizeSearchPathSet
(stmt *pg_query.VariableSetStmt)
transpiler/transform/setshow.go:383
↓ 1 callersFunctionnormalizeWhitespace
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 callersFunctionnormalize_pr_files_payload
Flatten GitHub API file payloads from a single page or gh --slurp pages.
scripts/test_impact_plan.py:304
↓ 1 callersMethodnotifySessionsReaped
(trigger string, count int)
server/flightsqlingress/ingress.go:1571
↓ 1 callersFunctionobserveActivationFailure
(image string)
controlplane/warm_pool_metrics.go:37
↓ 1 callersFunctionobserveHotIdlePersistFailure
observeHotIdlePersistFailure increments the hot_idle persist-failure counter. Empty image falls back to "unknown".
controlplane/worker_lifecycle_metrics_k8s.go:40
↓ 1 callersFunctionobserveOrgConnectionAdmission
(d time.Duration, outcome string, stats orgConnectionAdmissionStats)
controlplane/configstore/org_connection_metrics.go:57
↓ 1 callersFunctionobserveOrgPgSessionAccepted
(org string, passthrough bool)
controlplane/flight_ingress_metrics_k8s.go:49
↓ 1 callersFunctionobserveOrgWorkerCrash
(org string)
controlplane/flight_ingress_metrics_k8s.go:45
↓ 1 callersFunctionobserveWorkerConnPoolWedge
()
controlplane/flight_ingress_metrics.go:114
↓ 1 callersFunctionobserveWorkerSessionCapDrift
()
controlplane/flight_ingress_metrics.go:110
↓ 1 callersFunctionopenConnToPort
openConnToPort opens a fresh connection to a duckgres server on the given port.
tests/integration/ducklake_concurrency_test.go:102
↓ 1 callersFunctionopenDB
(cfg Config)
tests/perf/publisher/publisher.go:107
↓ 1 callersFunctionoperatorName
(aexpr *pg_query.A_Expr)
transpiler/transform/boolpredicates.go:288
↓ 1 callersFunctionorderedParamValues
(params map[string]any)
tests/perf/core/runner.go:158
↓ 1 callersMethodorgIDForConnectionRequest
(tx *gorm.DB, queueTable, requestID string)
controlplane/configstore/org_connections.go:192
↓ 1 callersMethodorgIDs
()
server/querylog_kafka_writer.go:505
↓ 1 callersMethodorgLen
(partition int, orgID string)
server/querylog_kafka_writer.go:548
↓ 1 callersFunctionorgToForm
(o: { max_workers: number; max_vcpus: number; default_worker_cpu: string; default_worker_memory: strin
controlplane/admin/ui/src/pages/OrgDetail.tsx:48
↓ 1 callersFunctionoutgoingAuthContext
(username, password string)
server/flightsqlingress/ingress_test.go:264
↓ 1 callersFunctionownPodIPs
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 callersMethodparseBinaryCopyAndInsert
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 callersFunctionparseCatalogFile
(step core.Step, file string)
tests/scenario/sql/steps.go:281
↓ 1 callersFunctionparseCommandName
(name string)
tests/scenario/dbt/steps.go:285
↓ 1 callersMethodparseCopyLine
parseCopyLine parses a line of COPY input
server/conn_copy.go:1349
↓ 1 callersFunctionparseDur
(s: string)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:239
↓ 1 callersFunctionparseLatencies
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 callersFunctionparseLogLevel
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 callersFunctionparseMapType
parseMapType parses a DuckDB MAP type string into an Arrow MapType.
duckdbservice/arrowmap/arrowmap.go:242
↓ 1 callersFunctionparsePGArrayLiteral
parsePGArrayLiteral parses a one-dimensional Postgres array literal '{...}'. It handles unquoted elements, double-quoted elements (with \" and \\ esca
transpiler/transform/typecast.go:651
↓ 1 callersFunctionparseResultRow
(record []string)
tests/perf/publisher/publisher.go:208
← previousnext →2,501–2,600 of 5,901, ranked by callers