Bug 63

Summary: Allow to connect without specifing username and/or port
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Plugin - PostgreSQLAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: postgres_uri.patch

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