MCPcopy Create free account

hub / github.com/PostHog/duckgres / functions

Functions5,901 in github.com/PostHog/duckgres

FunctionTestWorkerTLSBearerCredsRequireTransportSecurity
(t *testing.T)
controlplane/worker_rpc_security_test.go:7
FunctionTestWritableCTELongNameProducesValidSQL
TestWritableCTELongNameProducesValidSQL exercises the full path that motivated boundary-aware restoration: a writable CTE whose (quoted, special-char)
transpiler/longident_test.go:186
FunctionTestWritableCTE_DeleteReturningAllowed
DELETE ... RETURNING in a CTE is correct (OLD == the deleted rows) and allowed.
transpiler/transform/writablecte_returning_test.go:65
FunctionTestWritableCTE_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
FunctionTestWritableCTE_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
FunctionTestWritableCTE_UpdateReturningUnmodifiedKeyAllowed
The Airbyte-style pattern — RETURNING only an unmodified key — must keep working.
transpiler/transform/writablecte_returning_test.go:54
FunctionTestWriteAuthCleartextPassword
(t *testing.T)
server/protocol_test.go:260
FunctionTestWriteAuthOK
(t *testing.T)
server/protocol_test.go:234
FunctionTestWriteBackendKeyData
(t *testing.T)
server/protocol_test.go:300
FunctionTestWriteErrorResponse
(t *testing.T)
server/protocol_test.go:370
FunctionTestWriteErrorResponseRedactsPassword
(t *testing.T)
server/protocol_test.go:398
FunctionTestWriteMessage
(t *testing.T)
server/protocol_test.go:186
FunctionTestWriteNoticeResponse
(t *testing.T)
server/protocol_test.go:416
FunctionTestWriteParameterStatus
(t *testing.T)
server/protocol_test.go:275
FunctionTestWriteReadyForQuery
(t *testing.T)
server/protocol_test.go:332
FunctionTopbar
()
controlplane/admin/ui/src/components/Topbar.tsx:33
MethodTouchFlightSessionRecord
(string, time.Time)
controlplane/sni_kubernetes_test.go:176
MethodTouchFlightSessionRecord
(sessionToken string, lastSeenAt time.Time)
controlplane/configstore/store.go:1812
MethodTouchSession
(sessionToken string, lastSeenAt time.Time)
controlplane/flight_ingress.go:222
MethodTouchSession
(sessionToken string, lastSeenAt time.Time)
server/flightsqlingress/ingress_test.go:157
MethodTrailer
()
controlplane/session_mgr_drain_test.go:489
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/literals.go:27
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/pgcatalog.go:326
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/onconflict.go:39
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/types.go:92
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/typecast.go:41
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/writablecte.go:46
MethodTransform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/ctid.go:22
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/operators.go:22
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/information_schema.go:43
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/expandarray.go:32
MethodTransform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/logicalcatalog.go:34
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/setshow.go:207
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/funcalias.go:36
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/locking.go:20
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/boolpredicates.go:21
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/functions.go:169
MethodTransform
(tree *pg_query.ParseResult, _ *Result)
transpiler/transform/publicschema.go:29
MethodTransform
(tree *pg_query.ParseResult, result *Result)
transpiler/transform/version.go:27
MethodTryAcquireOrgConnectionLease
(requestID string, limits configstore.OrgResourceLimits, now time.Time)
controlplane/session_mgr_drain_test.go:189
MethodTryAcquireOrgConnectionLease
(requestID string, limits configstore.OrgResourceLimits, now time.Time)
controlplane/session_mgr_drain_test.go:238
MethodTryAcquireOrgConnectionLease
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
MethodUnwrap
()
tests/scenario/dbt/errors.go:18
MethodUnwrap
()
tests/scenario/sql/errors.go:27
MethodUnwrap
()
tests/scenario/perf/errors.go:18
MethodUnwrap
()
tests/scenario/provision/errors.go:36
MethodUpdateOrg
(name string, updates configstore.Org)
controlplane/admin/api.go:183
MethodUpdateOrg
(name string, updates configstore.Org)
controlplane/admin/api_test.go:61
MethodUpdateOrgUserPassword
(orgID, username, passwordHash string)
controlplane/provisioning/store.go:76
MethodUpdateOrgUserPassword
(orgID, username, passwordHash string)
controlplane/provisioning/api_test.go:47
MethodUpdateOrgUserPassword
UpdateOrgUserPassword updates the password hash for an existing user.
controlplane/configstore/store.go:604
MethodUpdateUser
(orgID, username, passwordHash string, passthrough *bool, maxVCPUs *int)
controlplane/admin/api.go:277
MethodUpdateUser
(orgID, username, passwordHash string, passthrough *bool, maxVCPUs *int)
controlplane/admin/api_test.go:125
MethodUpdateWarehouseState
(orgID string, expectedState ManagedWarehouseProvisioningState, updates map[string]interface{})
controlplane/configstore/store.go:686
MethodUpdateWarehouseState
(orgID string, expectedState configstore.ManagedWarehouseProvisioningState, updates map[string]interface{})
controlplane/provisioner/controller_test.go:44
MethodUpsertControlPlaneInstance
(instance *configstore.ControlPlaneInstance)
controlplane/runtime_tracker_test.go:18
MethodUpsertControlPlaneInstance
UpsertControlPlaneInstance inserts or updates a runtime control-plane instance row.
controlplane/configstore/store.go:905
MethodUpsertFlightSessionRecord
(*configstore.FlightSessionRecord)
controlplane/sni_kubernetes_test.go:170
MethodUpsertFlightSessionRecord
UpsertFlightSessionRecord inserts or updates a durable Flight reconnect row.
controlplane/configstore/store.go:1789
MethodUpsertManagedWarehouse
(orgID string, warehouse *configstore.ManagedWarehouse)
controlplane/admin/api.go:330
MethodUpsertManagedWarehouse
(orgID string, warehouse *configstore.ManagedWarehouse)
controlplane/admin/api_test.go:161
MethodUpsertSession
(record flightsqlingress.DurableSessionRecord)
controlplane/flight_ingress.go:188
MethodUpsertWorkerRecord
(record *configstore.WorkerRecord)
controlplane/k8s_pool_test.go:183
MethodUpsertWorkerRecord
UpsertWorkerRecord inserts or updates a runtime worker row.
controlplane/configstore/store.go:977
FunctionUsersPage
()
controlplane/admin/ui/src/pages/Users.tsx:36
MethodValidateCredentials
(username, password string)
controlplane/control.go:1999
MethodValidateCredentials
(username, password string)
server/flightsqlingress/ingress.go:151
MethodValidateCredentials
(username, password string)
server/flightsqlingress/ingress.go:158
MethodValidateCredentials
(username, password string)
server/flightsqlingress/ingress_test.go:56
MethodValidateCredentialsForSNI
(sni, username, password string)
server/flightsqlingress/ingress_test.go:60
MethodValidateOrgUserAndGetPassthrough
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
MethodValidateOrgUserAndGetPassthrough
(orgID, user, pass string)
controlplane/sni_kubernetes_test.go:155
MethodWaitForZeroSessions
(ctx context.Context)
server/flightsqlingress/ingress.go:1837
FunctionWarehousePanel
({ orgId, data, loading, error, }: { orgId: string; data: ManagedWarehouse | null; loading: bool
controlplane/admin/ui/src/pages/OrgDetail.tsx:349
MethodWithAttrs
(attrs []slog.Attr)
controlplane/k8s_pool_test.go:79
MethodWithAttrs
(attrs []slog.Attr)
internal/cliboot/logging.go:81
MethodWithAttrs
(attrs []slog.Attr)
internal/cliboot/logging.go:132
MethodWithAttrs
([]slog.Attr)
cmd/cache-proxy/proxy_test.go:48
MethodWithAttrs
(attrs []slog.Attr)
cmd/cache-proxy/main.go:60
MethodWithAttrs
([]slog.Attr)
server/pg_catalog_airgap_test.go:28
MethodWithGroup
(string)
controlplane/k8s_pool_test.go:85
MethodWithGroup
(_ string)
internal/cliboot/logging.go:87
MethodWithGroup
(name string)
internal/cliboot/logging.go:140
MethodWithGroup
(string)
cmd/cache-proxy/proxy_test.go:52
MethodWithGroup
(_ string)
cmd/cache-proxy/main.go:66
MethodWithGroup
(string)
server/pg_catalog_airgap_test.go:29
FunctionWithPhysicalCatalog
(profile Profile, physicalCatalog string)
transpiler/backend/profile.go:125
MethodWorker
(id int)
controlplane/org_router_test.go:36
MethodWorker
(id int)
controlplane/org_router_test.go:221
MethodWorker
(id int)
controlplane/session_mgr_drain_test.go:40
MethodWorker
(id int)
controlplane/session_mgr_drain_test.go:79
MethodWorker
(id int)
controlplane/session_mgr_drain_test.go:269
MethodWorker
(id int)
controlplane/session_mgr_drain_test.go:305
MethodWorker
(id int)
controlplane/session_mgr_test.go:46
MethodWorkerFleet
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
MethodWorkerFleet
()
controlplane/admin/live_aggregate_test.go:44
MethodWorkerID
WorkerID returns the worker id this snapshot was captured for.
controlplane/configstore/lifecycle_types.go:44
FunctionWorkers
()
controlplane/admin/ui/src/pages/Workers.tsx:18
MethodWrite
(_ []byte)
server/conn_querylog_lifecycle_test.go:253
FunctionWriteBackendKeyData
(w io.Writer, pid, secretKey int32)
server/exports.go:46
← previousnext →5,701–5,800 of 5,901, ranked by callers