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
TestParseCatalogSuccess
(t *testing.T)
tests/perf/core/catalog_test.go:8
Function
TestParseCopyFromOptions
(t *testing.T)
server/conn_test.go:2381
Function
TestParseCopyFromOptions_Binary
(t *testing.T)
server/conn_test.go:3048
Function
TestParseCopyLine
(t *testing.T)
server/conn_test.go:2809
Function
TestParseCopyToOptions
(t *testing.T)
server/conn_test.go:2564
Function
TestParseDecimalParams
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:190
Function
TestParseDucklingStatusDuckLakeEnabled
TestParseDucklingStatusDuckLakeEnabled locks in the present/absent contract for spec.ducklake.enabled: nil (legacy CR) lets the activator apply the ty
controlplane/provisioner/controller_test.go:1079
Function
TestParseDucklingStatusEmpty
(t *testing.T)
controlplane/provisioner/controller_test.go:713
Function
TestParseDucklingStatusPgBouncerEndpoint
(t *testing.T)
controlplane/provisioner/controller_test.go:685
Function
TestParseDucklingStatusSyncedFalse
(t *testing.T)
controlplane/provisioner/controller_test.go:658
Function
TestParseExtensionName
(t *testing.T)
server/server_test.go:106
Function
TestParseK8sCPU
(t *testing.T)
controlplane/worker_limits_test.go:202
Function
TestParseK8sCPUMillicores
(t *testing.T)
controlplane/compute_size_test.go:5
Function
TestParseK8sMemory
(t *testing.T)
controlplane/worker_limits_test.go:178
Function
TestParseK8sMemoryMiB
(t *testing.T)
controlplane/compute_size_test.go:27
Function
TestParseMemoryBytes
(t *testing.T)
server/sysinfo/sysinfo_test.go:77
Function
TestParseMultiLineCSV
(t *testing.T)
server/conn_test.go:3310
Function
TestParseNodeSelector
(t *testing.T)
controlplane/k8s_pool_test.go:3505
Function
TestParseNumericTypmod
(t *testing.T)
server/types_test.go:1126
Function
TestParsePort
(t *testing.T)
server/querylog_test.go:321
Function
TestParseQualifiedIdentifier
(t *testing.T)
server/sqlcore/identifier_test.go:8
Function
TestParseScenarioAllowsExpectedStepError
(t *testing.T)
tests/scenario/core/catalog_test.go:171
Function
TestParseScenarioAllowsOpenWithMap
(t *testing.T)
tests/scenario/core/catalog_test.go:145
Function
TestParseScenarioDefaultsLinearDependencies
(t *testing.T)
tests/scenario/core/catalog_test.go:8
Function
TestParseScenarioHonorsExplicitDependencies
(t *testing.T)
tests/scenario/core/catalog_test.go:46
Function
TestParseScenarioRejectsDuplicateStepIDs
(t *testing.T)
tests/scenario/core/catalog_test.go:72
Function
TestParseScenarioRejectsEmptyRequiredEnv
(t *testing.T)
tests/scenario/core/catalog_test.go:198
Function
TestParseScenarioRejectsMissingDependency
(t *testing.T)
tests/scenario/core/catalog_test.go:91
Function
TestParseScenarioRejectsUnknownFields
(t *testing.T)
tests/scenario/core/catalog_test.go:109
Function
TestParseScenarioRejectsUnknownStepFieldWithFieldName
(t *testing.T)
tests/scenario/core/catalog_test.go:132
Function
TestParseStartupOptions
(t *testing.T)
server/startup_options_test.go:5
Function
TestParseStructFieldDef
(t *testing.T)
duckdbservice/arrowmap/arrowmap_test.go:278
Function
TestPassthroughSessionDefaultCatalogCommand
(t *testing.T)
controlplane/session_search_path_test.go:29
Function
TestPatchTenantPinningEmptyStringClearsField
(t *testing.T)
controlplane/admin/api_test.go:1281
Function
TestPatchTenantPinningPreservesUntouchedField
(t *testing.T)
controlplane/admin/api_test.go:1253
Function
TestPatchTenantPinningRejectsBadVersion
(t *testing.T)
controlplane/admin/api_test.go:1324
Function
TestPatchTenantPinningRejectsEmptyBody
(t *testing.T)
controlplane/admin/api_test.go:1309
Function
TestPatchTenantPinningRejectsUnknownFields
(t *testing.T)
controlplane/admin/api_test.go:1347
Function
TestPatchTenantPinningReturnsNotFoundForMissingOrg
(t *testing.T)
controlplane/admin/api_test.go:1363
Function
TestPatchTenantPinningSetsImageAndDuckLakeVersion
(t *testing.T)
controlplane/admin/api_test.go:1225
Function
TestPeakSessionsTracking
(t *testing.T)
controlplane/pool_metrics_test.go:122
Function
TestPeerFetcherInterfaceSatisfied
(t *testing.T)
controlplane/admin/live_aggregate_test.go:194
Function
TestPerCPHotIdleReaperDisabled
Disabled (hotIdleTTL<=0) is a no-op — no listing, no retires.
controlplane/per_cp_hot_idle_reaper_test.go:143
Function
TestPerCPHotIdleReaperHonorsFloor
A per-org DefaultWorkerMinHotIdle floor must be honored: a worker is NOT reaped while the org is at/under its floor, so the fallback can't erode a war
controlplane/per_cp_hot_idle_reaper_test.go:73
Function
TestPerCPHotIdleReaperOrphanPassDisabled
orphanGrace==0 disables the orphan pass (self-owned reaping still runs).
controlplane/per_cp_hot_idle_reaper_test.go:124
Function
TestPerCPHotIdleReaperReapsOrphanedHotIdle
The per-CP reaper also reaps hot-idle workers orphaned by a dead owning CP (rollout/crash), but leaves non-hot-idle orphans to the leader sweep. This
controlplane/per_cp_hot_idle_reaper_test.go:97
Function
TestPerCPHotIdleReaperRetiresExpired
The fallback reaper retires every expired hot-idle worker this CP owns, scoping the list to its own cp instance id, and stamps the last-run gauge.
controlplane/per_cp_hot_idle_reaper_test.go:42
Function
TestPerSessionThreads
(t *testing.T)
controlplane/memory_rebalancer_test.go:29
Function
TestPgAttributeJoinPgTypeComplexColumns
TestPgAttributeJoinPgTypeComplexColumns verifies end-to-end that creating a table with JSON and array columns produces rows in the pg_attribute JOIN p
server/catalog_test.go:217
Function
TestPgCatalogCompatViewsOnlyExposeSelectedCatalog
(t *testing.T)
server/session_database_metadata_test.go:329
Function
TestPgCatalogConvenienceViewsMatchNativeShape
(t *testing.T)
server/session_database_metadata_test.go:603
Function
TestPgCatalogJsonStrip
TestPgCatalogJsonStrip verifies the deparser's pg_catalog.json canonicalization is stripped even when the type-mapping flag would not otherwise fire.
transpiler/cast_fixup_test.go:28
Function
TestPgCatalogStubRelations
TestPgCatalogStubRelations covers pg_catalog relations that DuckDB lacks entirely but real clients/BI tools query. pg_user is derived from pg_roles (1
server/pg_catalog_wiring_test.go:29
Function
TestPgCatalogTransform_PgTableIsVisibleInPgClassFilter
(t *testing.T)
transpiler/transform/wiring_walk_test.go:71
Function
TestPgCatalogTransform_PgTableIsVisibleQualifiedInDuckLakeMode
Fix: pg_table_is_visible was missing from CustomMacros, so it was never memory.main-qualified in DuckLake mode (unlike sibling macros such as pg_get_u
transpiler/transform/wiring_walk_test.go:58
Function
TestPgDatabaseView
(t *testing.T)
server/catalog_test.go:12
Function
TestPgDatabaseViewContent
(t *testing.T)
server/catalog_test.go:57
Function
TestPgIdentSuffixSanitizes
TestPgIdentSuffixSanitizes verifies the Postgres-identifier transform maps hyphens to underscores (PG identifiers can't be unquoted-hyphenated) and st
controlplane/provisioner/naming_test.go:10
Function
TestPgStatActivity
TestPgStatActivity tests the pg_stat_activity virtual table.
tests/integration/pg_stat_activity_test.go:89
Function
TestPgStatActivityColumnsAndOIDs
(t *testing.T)
server/conn_test.go:3820
Function
TestPgStatActivityExtendedQuery
TestPgStatActivityExtendedQuery tests pg_stat_activity through the Extended Query protocol (prepared statements).
tests/integration/pg_stat_activity_test.go:370
Function
TestPgStatActivityFromSecondConnection
TestPgStatActivityFromSecondConnection verifies that pg_stat_activity works from a separately opened connection and can see multiple connections.
tests/integration/pg_stat_activity_test.go:321
Function
TestPgStatActivityStubView
TestPgStatActivityStubView tests that the stub view in DuckDB works for schema introspection (e.g., \d pg_stat_activity in psql).
tests/integration/pg_stat_activity_test.go:433
Function
TestPgStatioUserTablesViewColumns
(t *testing.T)
server/catalog_test.go:120
Function
TestPgTablesViewsSequencesOnlyExposeSelectedCatalog
(t *testing.T)
server/session_database_metadata_test.go:506
Function
TestPgTypeHasComplexTypeOIDs
TestPgTypeHasComplexTypeOIDs verifies that the pg_type view includes synthetic entries for PostgreSQL OIDs used by pg_attribute. Without these, JOIN p
server/catalog_test.go:170
Function
TestPgxBinaryFormatResults
TestPgxBinaryFormatResults tests that the extended query protocol correctly handles binary result format codes. pgx (and JDBC) request binary format f
tests/integration/clients/clients_test.go:699
Function
TestPgxPing
TestPgxPing tests that pgx.Conn.Ping() works correctly. pgx sends "-- ping" via the simple query protocol for Ping(), which exercises comment-only que
tests/integration/protocol_test.go:16
Function
TestPinSecretDirectory
TestPinSecretDirectory is the regression guard for the worker-side fix: with Config.PinSecretDirectory set (as duckdbservice.OpenDuckDBPair does for e
server/persistent_secrets_test.go:25
Function
TestPinSecretDirectoryIgnoresLegacyDefault
TestPinSecretDirectoryIgnoresLegacyDefault proves point (b): a secret written to DuckDB's old $HOME-style default location is not loaded once the dire
server/persistent_secrets_test.go:57
Function
TestPlaceholderPodGenerateName
(t *testing.T)
controlplane/headroom_test.go:98
Function
TestPostgresInvalidCatalogSQLSTATE
A non-selectable database name (anything other than ducklake/empty) is rejected with 3D000 — the database param is now catalog selection, not an org/i
controlplane/sni_kubernetes_test.go:274
Function
TestPostgresSNIOffIgnoresSNI
(t *testing.T)
controlplane/sni_kubernetes_test.go:227
Function
TestPostgresSNIRequiresManagedOrgMatch
(t *testing.T)
controlplane/sni_kubernetes_test.go:207
Function
TestPostgresSNIUnknownModeIgnoresSNI
(t *testing.T)
controlplane/sni_kubernetes_test.go:249
Function
TestPreBindSocketsCleanupOnPartialFailure
(t *testing.T)
controlplane/worker_mgr_process_test.go:811
Function
TestPreBindSocketsCreatesListeners
(t *testing.T)
controlplane/worker_mgr_process_test.go:786
Function
TestPrefixCollisionAvoided
TestPrefixCollisionAvoided ensures the placeholder prefix is bumped when the default prefix already appears in the input.
transpiler/longident_test.go:147
Function
TestPreparedStatementEdgeCases
TestPreparedStatementEdgeCases tests advanced prepared statement scenarios. Note: basic prepare/execute/reuse is covered by TestProtocolExtendedQuery.
tests/integration/edge_cases_test.go:238
Function
TestPreparedStatements
TestPreparedStatements tests that prepared statements work correctly
tests/integration/clients/clients_test.go:517
Function
TestPreparedStmtMultiStatement
TestPreparedStmtMultiStatement verifies that preparedStmt can store multi-statement results from writable CTE transforms for the extended query protoc
server/conn_test.go:2888
Function
TestProfilingCoverageAllCoversNonSelect
TestProfilingCoverageAllCoversNonSelect pins the behavior that motivates `SET profiling_coverage = 'ALL'` in ConfigureMainDB: with the default coverag
server/profiling_test.go:89
Function
TestProfilingOutputCompaction
(t *testing.T)
duckdbservice/profiling_test.go:25
Function
TestProfilingOutputGRPCSafety
(t *testing.T)
duckdbservice/profiling_test.go:72
Function
TestProfilingOutputToFile
(t *testing.T)
server/profiling_test.go:16
Function
TestProfilingSettingsArePerConnection
TestProfilingSettingsArePerConnection reproduces the cluster-mode bug: DuckDB profiling settings are session-scoped (DuckDB rejects `SET GLOBAL` for `
server/profiling_test.go:225
Function
TestProtectDedupesRepeatedIdentifier
(t *testing.T)
transpiler/longident_test.go:120
Function
TestProtectMultipleDistinctIdentifiers
(t *testing.T)
transpiler/longident_test.go:135
Function
TestProtectNeverPanicsAndIsSafe
TestProtectNeverPanicsAndIsSafe feeds adversarial inputs (unterminated quotes, nested comments, multibyte runs, adjacent placeholders) to make sure th
transpiler/longident_test.go:208
Function
TestProtectNoOpForShortQueries
(t *testing.T)
transpiler/longident_test.go:112
Function
TestProtectPreservesLongTableName
(t *testing.T)
transpiler/longident_test.go:36
Function
TestProtectQuotedLongIdentifier
(t *testing.T)
transpiler/longident_test.go:63
Function
TestProtectSkipsComments
(t *testing.T)
transpiler/longident_test.go:93
Function
TestProtectSkipsDollarQuoted
(t *testing.T)
transpiler/longident_test.go:85
Function
TestProtectSkipsEString
(t *testing.T)
transpiler/longident_test.go:104
Function
TestProtectSkipsStringLiterals
(t *testing.T)
transpiler/longident_test.go:71
Function
TestProtectVariousStatements
(t *testing.T)
transpiler/longident_test.go:43
Function
TestProtocolDataTypes
TestProtocolDataTypes tests that various data types are correctly transmitted
tests/integration/protocol_test.go:391
Function
TestProtocolErrors
TestProtocolErrors tests error handling
tests/integration/protocol_test.go:345
Function
TestProtocolExtendedQuery
TestProtocolExtendedQuery tests the extended query protocol (prepared statements)
tests/integration/protocol_test.go:156
← previous
next →
4,901–5,000 of 5,901, ranked by callers