Skip to content

Update dbi-open to use modern URI formats #22

Description

@linas

The dbi-open call should be updated to accept the modern connection URI's. For example:

;  generic
postgresql://[user[:password]@][netloc][:port][,...][/dbname][?paramspec]
; for SSL:
postgresql://user:pass@host:5432/db?sslmode=require
; for unix sockets:
postgresql:///dbname?host=/var/run/postgresql
; for localhost:
postgresql://localhost

See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING for details.

The other dbs -- mysql and sqlite3 do something similar.

@NalaGinrut -- maybe this would be interesting to you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions