MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

MethodWriteMessages
(_ context.Context, messages ...queryLogKafkaMessage)
server/querylog_kafka_test.go:17
MethodWriteMessages
(ctx context.Context, _ ...queryLogKafkaMessage)
server/querylog_kafka_test.go:34
MethodWriteMessages
(ctx context.Context, messages ...queryLogKafkaMessage)
server/querylog_kafka.go:382
FunctionWriteParameterStatus
(w io.Writer, name, value string)
server/exports.go:42
MethodWriteQueryLogEntries
(_ context.Context, entries []QueryLogEntry)
server/querylog_kafka_writer_test.go:119
MethodWriteQueryLogEntries
(ctx context.Context, entries []QueryLogEntry)
server/querylog_kafka_writer.go:699
Method__init__
(self, client_name: str)
scripts/client-compat/report_client.py:22
Method__init__
(self, rc: ReportClient)
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:47
Method__init__
(self, rc: ReportClient)
scripts/client-compat/clients/dbt/test_dbt.py:30
Method__init__
(self, rc: ReportClient)
scripts/client-compat/clients/pgadmin/test_pgadmin.py:65
Method__init__
(self, rc: ReportClient)
scripts/client-compat/clients/psycopg/test_psycopg.py:54
MethodactivateReservedWorkerDefault
(_ context.Context, _ *ManagedWorker)
controlplane/org_reserved_pool.go:565
FunctionappendDuckDBRows
appendDuckDBRows is the real DuckDB Appender implementation. Mirrors the logic that previously lived inline in (*clientConn).appendWithDuckDBAppender.
duckdbservice/duckdb_appender.go:23
FunctionauditSubject
(e: AuditEntry)
controlplane/admin/ui/src/lib/audit.ts:66
MethodcheckDatabaseName
(c *gin.Context)
controlplane/provisioning/api.go:488
FunctioncompareByStarted
(a: StartedRow, b: StartedRow)
controlplane/admin/ui/src/lib/liveSort.ts:22
FunctioncompareByWorker
(a: WorkerRow, b: WorkerRow)
controlplane/admin/ui/src/lib/liveSort.ts:35
FunctionconfirmDelete
()
controlplane/admin/ui/src/pages/ConfigStore.tsx:275
Methodconstructor
(status: number, message: string, body?: unknown)
controlplane/admin/ui/src/lib/api.ts:45
Methodcoverage_risk
(self)
scripts/test_impact_plan.py:79
MethodcreateOrg
(c *gin.Context)
controlplane/admin/api.go:518
FunctiondoDelete
()
controlplane/admin/ui/src/pages/OrgDetail.tsx:145
FunctiondoDeprovision
()
controlplane/admin/ui/src/pages/OrgDetail.tsx:426
FunctiondoHealthCheckWithMetadataImpl
(ctx context.Context, client *flightsql.Client, payload server.WorkerHealthCheckPayload)
controlplane/worker_mgr.go:606
Methoddo_GET
(self)
scripts/client-compat/results_gatherer.py:225
Methoddo_POST
(self)
scripts/client-compat/results_gatherer.py:184
FunctiondocClickFn
(e: Event)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:762
Functionduckgres_crash_handler
internal/crashhandler/handler.c:84
Functionduckgres_crashhandler_install
internal/crashhandler/handler.c:112
Functionduckgres_crashhandler_installed
internal/crashhandler/handler.c:129
Methodevents
(c *gin.Context)
controlplane/admin/cluster.go:264
MethodextractOrgFromSNI
extractOrgFromSNI parses the org identifier from a TLS ServerName. Returns the prefix as orgName when sni == "<orgName>" + one of the configured Manag
controlplane/sni_kubernetes.go:17
MethodfindDrift
(c *gin.Context)
controlplane/admin/ducklings_drift.go:57
MethodgetCertificate
(_ *tls.ClientHelloInfo)
server/tlscert/acme_dns.go:177
MethodgetClusterStatus
--- Status ---
controlplane/admin/api.go:1194
MethodgetManagedWarehouse
(c *gin.Context)
controlplane/admin/api.go:803
MethodgetUsage
getUsage returns usage aggregated since the last ack — one row per key (org, team, query_source, worker size) per UTC day — plus the watermark window.
controlplane/compute_billing_api.go:50
MethodgetUser
(c *gin.Context)
controlplane/admin/api.go:1064
MethodgetWarehouseStatus
(c *gin.Context)
controlplane/provisioning/api.go:405
MethodhandleClose
(body []byte)
server/conn_extended_query.go:845
FunctionhandleDuckDBValue
handleDuckDBValue implements arrowmap.Appender for duckdb-go's driver value types. Returns true when it claimed the value, false to fall through to ar
duckdbservice/appender_init.go:52
Functionhandle_sigterm
(signum, frame)
scripts/client-compat/results_gatherer.py:280
MethodhealthReady
()
controlplane/control.go:1794
Functioninit
()
transpiler/longident_test.go:14
Functioninit
()
controlplane/k8s_factory.go:5
Functioninit
()
controlplane/admin/dashboard.go:23
Functioninit
In the all-in-one binary, duckdbservice's init() registers a normalizer that converts duckdb.Interval / duckdb.Decimal to arrowmap.IntervalValue / arr
server/types_test.go:21
Functioninit
()
duckdbservice/activation.go:390
Functioninit
init registers handlers for the duckdb-go driver value types so that any caller gets full type coverage when this package is linked into the binary: -
duckdbservice/appender_init.go:24
Functioninit
init wires the real duckdb-go Appender implementation into server's COPY codepath. Binaries that link duckdbservice (worker, all-in-one) get full Appe
duckdbservice/duckdb_appender.go:17
Functioninstalled
()
internal/crashhandler/handler_stub.go:5
FunctionisZeroTime
(ts: string | null | undefined)
controlplane/admin/ui/src/lib/format.ts:144
FunctionloadStockHTTPFS
loadStockHTTPFS installs the stock httpfs extension from the default extension repository (needs network; skips when unavailable).
tests/integration/credential_rotation_pin_test.go:216
Methodlog_message
(self, format, *args)
scripts/client-compat/results_gatherer.py:168
FunctionlookupEnv
(key string)
duckdbservice/activation.go:394
Functionmain
()
main.go:52
Functionmain
()
controlplane/admin/devserver/main.go:41
Functionmain
()
cmd/cache-proxy/main.go:75
Functionmain
()
cmd/duckgres-worker/main.go:43
Functionmain
()
cmd/duckgres-controlplane/main.go:48
Functionmain
()
scripts/test_binary.go:13
Functionmain
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:433
Functionmain
()
scripts/client-compat/clients/pgx/main.go:389
Methodmain
(String[] args)
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:39
Methodmain
(String[] args)
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:673
FunctionmeHandler
meHandler returns the caller's identity + role so the SPA can tailor its UI.
controlplane/admin/authz.go:204
Methodnew
()
scripts/client-compat/clients/tokio-postgres/src/main.rs:36
Methodnodepools
bytes → GiB, 1 decimal nodepools proxies the karpenter NodePool list (cluster-scoped CRD) verbatim. The view reads spec.disruption.{consolidationPolic
controlplane/admin/cluster.go:418
Methodnodes
(c *gin.Context)
controlplane/admin/cluster.go:204
FunctionnormalizeDuckDBValue
normalizeDuckDBValue converts the duckdb-go driver's interval and decimal types to their duckdb-free arrowmap equivalents. Other inputs pass through u
duckdbservice/appender_init.go:32
FunctionobserveFlightAuthSessions
(count int)
controlplane/flight_ingress_metrics.go:50
FunctionobserveFlightSessionsReaped
(trigger string, count int)
controlplane/flight_ingress_metrics.go:118
FunctionobserveOrgPgSessionAccepted
(string, bool)
controlplane/flight_ingress_metrics_stub.go:7
FunctionobserveOrgSessionsActive
(string, int)
controlplane/flight_ingress_metrics_stub.go:5
FunctionobserveSNIRoutingResolution
(string, bool)
controlplane/flight_ingress_metrics_stub.go:9
FunctiononK8sEvent
(type: string, e: any)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:367
FunctiononNodeEvent
(type: string, node: any)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:350
FunctiononPodEvent
(type: string, pod: any)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:339
FunctiononRun
()
controlplane/admin/ui/src/pages/Impersonate.tsx:69
MethodonSharedWorkerCrash
(workerID int)
controlplane/org_router.go:389
MethodonSharedWorkerProgress
(workerID int, progress map[string]*SessionProgress)
controlplane/org_router.go:401
MethodpatchTenantPinning
4 KiB; the body is two strings patchTenantPinning sets the image and/or ducklake_version columns on a tenant's managed_warehouses row without touching
controlplane/admin/api.go:923
Methodpods
(c *gin.Context)
controlplane/admin/cluster.go:236
FunctionpoolBtnFn
(e: Event)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:760
FunctionpoolMenuFn
(e: Event)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:764
MethodpostAck
postAck advances the cursor to watermark_high and deletes every buffered bucket at or below it. Idempotent: re-acking an already-acked (or older) wate
controlplane/compute_billing_api.go:95
MethodprovisionWarehouse
(c *gin.Context)
controlplane/provisioning/api.go:204
MethodputManagedWarehouse
(c *gin.Context)
controlplane/admin/api.go:824
MethodqueryRowScan
queryRowScan runs a single-row query with the default attachStepTimeout and scans the result into dest. On timeout dest is NOT written; callers must t
server/attach_timeout.go:115
MethodqueryRowScan
(query string, dest ...any)
server/attach_timeout.go:210
FunctionrandomConnectionRequestID
()
controlplane/connection_limiter.go:150
Methodreport
(self, suite: str, test_name: str, status: str, detail: str = "")
scripts/client-compat/report_client.py:38
MethodresetPassword
(c *gin.Context)
controlplane/provisioning/api.go:446
FunctionrunQueryLogWriter
(ctx context.Context, cfg server.Config, resolved configresolve.Resolved)
querylog_writer_mode_kubernetes.go:96
Functionsave
()
controlplane/admin/ui/src/pages/OrgDetail.tsx:108
FunctionsetUserTimeout
setUserTimeout is a no-op outside Linux. macOS / BSD kernels do not expose TCP_USER_TIMEOUT; the keepalive budget remains the only detection path on d
internal/netkeepalive/usertimeout_other.go:13
FunctionsleepContext
(ctx context.Context, d time.Duration)
tests/scenario/sql/steps.go:467
Functionsubmit
()
controlplane/admin/ui/src/pages/Users.tsx:305
Functionsubmit
()
controlplane/admin/ui/src/pages/ConfigStore.tsx:438
Methodsummary
(c *gin.Context)
controlplane/admin/cluster.go:349
← previousnext →5,801–5,900 of 5,901, ranked by callers