Documentation
¶
Overview ¶
Package pgdsn builds libpq keyword/value connection strings.
It exists so the quoting rule has one implementation. Two subsystems hand a DSN to DuckDB's postgres scanner — internal/cdc (ATTACH, for CDC export) and internal/federated (postgres_scan, for the federated read path) — and an unquoted value is two bugs at once: a password containing a space produces a DSN libpq cannot parse, and the credential scrubber in internal/redact cannot tell where an unquoted value ends, so it truncates at the first separator and leaks the tail (#301).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.