-
Notifications
You must be signed in to change notification settings - Fork 937
Open
Description
Currently the driver does not support specifying a connection using a service description.
Details: https://www.postgresql.org/docs/current/static/libpq-pgservice.html
I'm currently not a go programmer myself, however looking at the code I might be able to create a proof-of-concept implementation.
Basically, what needs to happen that iff a service is specified, we need to read the libpq parameters from the Connection Service File. For a start, we could use the same logic (and limitations) as the pgpass reading: https://github.com/lib/pq/blob/master/conn.go#L159-L168
Questions:
- Does anyone - other than me - think this is useful?
- The Connection Service File is in an ini format, should we use an external ini (or toml) library to implement this?
cuboci, hooblei, dskoda1, CurtTilmes, derektamsen and 2 more
Metadata
Metadata
Assignees
Labels
No labels