Skip to content

Support `PGPORT`, or full connection string

Right now AFAICT it is not possible to connect to a database that isn't on 5432. Ideally the postgres crate would support all the standard PostgreSQL environment variables, but since it doesn't, I think allowing the user to pass the full connection string would be generally useful. Handling PGPORT as an environment variable like PGUSER would also solve my particular issue.