Bug 63 - Allow to connect without specifing username and/or port
Summary: Allow to connect without specifing username and/or port
Status: RESOLVED FIXED
Alias: None
Product: Orthanc
Classification: Unclassified
Component: Plugin - PostgreSQL (show other bugs)
Version: unspecified
Hardware: All All
: --- enhancement
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:12 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:20 CEST (History)
0 users

See Also:


Attachments
postgres_uri.patch (1.09 KB, text/x-diff)
2020-06-29 15:18 CEST, Sébastien Jodogne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Jodogne 2020-06-29 15:12:58 CEST
[BitBucket user: Jasper Lievisse Adriaanse]
[BitBucket date: 2017-08-09.16:45:18]

As per $subject, this allows for connecting to Postgres without having to specify a username and/or port.
Comment 1 Sébastien Jodogne 2020-06-29 15:18:33 CEST
Created attachment 93 [details]
postgres_uri.patch
Comment 2 Sébastien Jodogne 2020-06-29 15:20:46 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-08-24.18:27:50]

Thanks for this suggestion! The modification is reintegrated in the mainline, together with associated unit tests:

https://hg.orthanc-server.com/orthanc-postgresql/changeset/11c4f0a4b64711dc8feefb22e8e73c28a639ffcc