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
Function
TestWorkerTLSBearerCredsRequireTransportSecurity
(t *testing.T)
controlplane/worker_rpc_security_test.go:7
Function
TestWritableCTELongNameProducesValidSQL
TestWritableCTELongNameProducesValidSQL exercises the full path that motivated boundary-aware restoration: a writable CTE whose (quoted, special-char)
transpiler/longident_test.go:186
Function
TestWritableCTE_DeleteReturningAllowed
DELETE ... RETURNING in a CTE is correct (OLD == the deleted rows) and allowed.
transpiler/transform/writablecte_returning_test.go:65
Function
TestWritableCTE_UpdateReturningModifiedColumnRejected
UPDATE ... RETURNING a modified column inside a writable CTE must be rejected (the pre-update capture would return a stale value).
transpiler/transform/writablecte_returning_test.go:31
Function
TestWritableCTE_UpdateReturningStarAllowed
RETURNING * is exempt from the guard (common row-identification idiom; callers typically read only the key). It must still rewrite, not error.
transpiler/transform/writablecte_returning_test.go:43
Function
TestWritableCTE_UpdateReturningUnmodifiedKeyAllowed
The Airbyte-style pattern — RETURNING only an unmodified key — must keep working.
transpiler/transform/writablecte_returning_test.go:54
Function
TestWriteAuthCleartextPassword
(t *testing.T)
server/protocol_test.go:260
Function
TestWriteAuthOK
(t *testing.T)
server/protocol_test.go:234
Function
TestWriteBackendKeyData
(t *testing.T)
server/protocol_test.go:300
Function
TestWriteErrorResponse
(t *testing.T)
server/protocol_test.go:370
Function
TestWriteErrorResponseRedactsPassword
(t *testing.T)
server/protocol_test.go:398
Function
TestWriteMessage
(t *testing.T)
server/protocol_test.go:186
Function
TestWriteNoticeResponse
(t *testing.T)
server/protocol_test.go:416
Function
TestWriteParameterStatus
(t *testing.T)
server/protocol_test.go:275
Function
TestWriteReadyForQuery
(t *testing.T)
server/protocol_test.go:332
Function
Topbar
()
controlplane/admin/ui/src/components/Topbar.tsx:33
Method
TouchFlightSessionRecord
(string, time.Time)
controlplane/sni_kubernetes_test.go:176
Method
TouchFlightSessionRecord
(sessionToken string, lastSeenAt time.Time)
controlplane/configstore/store.go:1812
Method
TouchSession
(sessionToken string, lastSeenAt time.Time)
controlplane/flight_ingress.go:222
Method
TouchSession
(sessionToken string, lastSeenAt time.Time)
server/flightsqlingress/ingress_test.go:157
Method
Trailer
()
controlplane/session_mgr_drain_test.go:489
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/literals.go:27
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/pgcatalog.go:326
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/onconflict.go:39
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/types.go:92
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/typecast.go:41
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/writablecte.go:46
Method
Transform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/ctid.go:22
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/operators.go:22
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/information_schema.go:43
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/expandarray.go:32
Method
Transform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/logicalcatalog.go:34
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/setshow.go:207
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/funcalias.go:36
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/locking.go:20
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/boolpredicates.go:21
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/functions.go:169
Method
Transform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/publicschema.go:29
Method
Transform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/version.go:27
Method
TryAcquireOrgConnectionLease
(requestID string, limits configstore.OrgResourceLimits, now time.Time)
controlplane/session_mgr_drain_test.go:189
Method
TryAcquireOrgConnectionLease
(requestID string, limits configstore.OrgResourceLimits, now time.Time)
controlplane/session_mgr_drain_test.go:238
Method
TryAcquireOrgConnectionLease
TryAcquireOrgConnectionLease attempts to grant one queued request under cluster-wide per-org and per-user vCPU budgets. A nil lease means the request
controlplane/configstore/org_connections.go:67
Method
Unwrap
()
tests/scenario/dbt/errors.go:18
Method
Unwrap
()
tests/scenario/sql/errors.go:27
Method
Unwrap
()
tests/scenario/perf/errors.go:18
Method
Unwrap
()
tests/scenario/provision/errors.go:36
Method
UpdateOrg
(name string, updates configstore.Org)
controlplane/admin/api.go:183
Method
UpdateOrg
(name string, updates configstore.Org)
controlplane/admin/api_test.go:61
Method
UpdateOrgUserPassword
(orgID, username, passwordHash string)
controlplane/provisioning/store.go:76
Method
UpdateOrgUserPassword
(orgID, username, passwordHash string)
controlplane/provisioning/api_test.go:47
Method
UpdateOrgUserPassword
UpdateOrgUserPassword updates the password hash for an existing user.
controlplane/configstore/store.go:604
Method
UpdateUser
(orgID, username, passwordHash string, passthrough *bool, maxVCPUs *int)
controlplane/admin/api.go:277
Method
UpdateUser
(orgID, username, passwordHash string, passthrough *bool, maxVCPUs *int)
controlplane/admin/api_test.go:125
Method
UpdateWarehouseState
(orgID string, expectedState ManagedWarehouseProvisioningState, updates map[string]interface{})
controlplane/configstore/store.go:686
Method
UpdateWarehouseState
(orgID string, expectedState configstore.ManagedWarehouseProvisioningState, updates map[string]interface{})
controlplane/provisioner/controller_test.go:44
Method
UpsertControlPlaneInstance
(instance *configstore.ControlPlaneInstance)
controlplane/runtime_tracker_test.go:18
Method
UpsertControlPlaneInstance
UpsertControlPlaneInstance inserts or updates a runtime control-plane instance row.
controlplane/configstore/store.go:905
Method
UpsertFlightSessionRecord
(*configstore.FlightSessionRecord)
controlplane/sni_kubernetes_test.go:170
Method
UpsertFlightSessionRecord
UpsertFlightSessionRecord inserts or updates a durable Flight reconnect row.
controlplane/configstore/store.go:1789
Method
UpsertManagedWarehouse
(orgID string, warehouse *configstore.ManagedWarehouse)
controlplane/admin/api.go:330
Method
UpsertManagedWarehouse
(orgID string, warehouse *configstore.ManagedWarehouse)
controlplane/admin/api_test.go:161
Method
UpsertSession
(record flightsqlingress.DurableSessionRecord)
controlplane/flight_ingress.go:188
Method
UpsertWorkerRecord
(record *configstore.WorkerRecord)
controlplane/k8s_pool_test.go:183
Method
UpsertWorkerRecord
UpsertWorkerRecord inserts or updates a runtime worker row.
controlplane/configstore/store.go:977
Function
UsersPage
()
controlplane/admin/ui/src/pages/Users.tsx:36
Method
ValidateCredentials
(username, password string)
controlplane/control.go:1999
Method
ValidateCredentials
(username, password string)
server/flightsqlingress/ingress.go:151
Method
ValidateCredentials
(username, password string)
server/flightsqlingress/ingress.go:158
Method
ValidateCredentials
(username, password string)
server/flightsqlingress/ingress_test.go:56
Method
ValidateCredentialsForSNI
(sni, username, password string)
server/flightsqlingress/ingress_test.go:60
Method
ValidateOrgUserAndGetPassthrough
ValidateOrgUserAndGetPassthrough does both lookups against the same snapshot — the auth path needs both, and a single read closes the window where the
controlplane/control.go:233
Method
ValidateOrgUserAndGetPassthrough
(orgID, user, pass string)
controlplane/sni_kubernetes_test.go:155
Method
WaitForZeroSessions
(ctx context.Context)
server/flightsqlingress/ingress.go:1837
Function
WarehousePanel
({ orgId, data, loading, error, }: { orgId: string; data: ManagedWarehouse | null; loading: bool
controlplane/admin/ui/src/pages/OrgDetail.tsx:349
Method
WithAttrs
(attrs []slog.Attr)
controlplane/k8s_pool_test.go:79
Method
WithAttrs
(attrs []slog.Attr)
internal/cliboot/logging.go:81
Method
WithAttrs
(attrs []slog.Attr)
internal/cliboot/logging.go:132
Method
WithAttrs
([]slog.Attr)
cmd/cache-proxy/proxy_test.go:48
Method
WithAttrs
(attrs []slog.Attr)
cmd/cache-proxy/main.go:60
Method
WithAttrs
([]slog.Attr)
server/pg_catalog_airgap_test.go:28
Method
WithGroup
(string)
controlplane/k8s_pool_test.go:85
Method
WithGroup
(_ string)
internal/cliboot/logging.go:87
Method
WithGroup
(name string)
internal/cliboot/logging.go:140
Method
WithGroup
(string)
cmd/cache-proxy/proxy_test.go:52
Method
WithGroup
(_ string)
cmd/cache-proxy/main.go:66
Method
WithGroup
(string)
server/pg_catalog_airgap_test.go:29
Function
WithPhysicalCatalog
(profile Profile, physicalCatalog string)
transpiler/backend/profile.go:125
Method
Worker
(id int)
controlplane/org_router_test.go:36
Method
Worker
(id int)
controlplane/org_router_test.go:221
Method
Worker
(id int)
controlplane/session_mgr_drain_test.go:40
Method
Worker
(id int)
controlplane/session_mgr_drain_test.go:79
Method
Worker
(id int)
controlplane/session_mgr_drain_test.go:269
Method
Worker
(id int)
controlplane/session_mgr_drain_test.go:305
Method
Worker
(id int)
controlplane/session_mgr_test.go:46
Method
WorkerFleet
WorkerFleet returns cluster-wide worker counts by lifecycle state from the durable runtime store — the only source that sees hot-idle/spawning/drainin
controlplane/admin_providers.go:136
Method
WorkerFleet
()
controlplane/admin/live_aggregate_test.go:44
Method
WorkerID
WorkerID returns the worker id this snapshot was captured for.
controlplane/configstore/lifecycle_types.go:44
Function
Workers
()
controlplane/admin/ui/src/pages/Workers.tsx:18
Method
Write
(_ []byte)
server/conn_querylog_lifecycle_test.go:253
Function
WriteBackendKeyData
(w io.Writer, pid, secretKey int32)
server/exports.go:46
← previous
next →
5,701–5,800 of 5,901, ranked by callers