MCPcopy Create free account
hub / github.com/PostHog/duckgres / ValidateCredentials

Method ValidateCredentials

controlplane/control.go:1999–2001  ·  view source on GitHub ↗
(username, password string)

Source from the content-addressed store, hash-verified

1997
1998// initSessionMetadata runs the post-create session setup against exec: the
1999// attached-catalog probe, session database metadata init, and the connect-time
2000// search_path / passthrough catalog application. Runs once at session create
2001// and again after every worker switch (the new worker's session starts cold,
2002// so all of this has to be redone there).
2003func (cp *ControlPlane) initSessionMetadata(
2004 ctx context.Context,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected