Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 398 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 398 Bytes

pgconnparams.py

This small utility takes a postgres: URI and parses it, writing out the same connection information as standard command-line options.

It can also write a .pgpass file containing the information in the URI.

It's intended for systems that store database connection information as URIs, but want to invoke PostgreSQL utilities that don't take URI-style connection information.