poka.sh

Docs

PGPASS

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

Postgres .pgpass Preview.

At a glance

Purpose A PostgreSQL .pgpass file: host, port, database, user and password per line.
Extensions .pgpass
Poka parser poka-pgpass
Viewer poka-table-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B2 Broad (see Breadth tiers)

How much Poka reads

B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-pgpass/src/main.rs (155 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .pgpass sample. Covers .pgpass. The table lists every entry with host, port, database and user; the password is redacted. Judgement: B2: every entry is shown; the gaps are limits, redaction by design and fields left raw.

What Poka does not read

  • Passwords are redacted (by design)
  • Escaped colons in fields may split fields wrongly (judgement from the code)

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

Sources

  • parsers/poka-pgpass/src/main.rs
  • parsers/poka-pgpass/plugin.json