Re: Packaging of a Web viewer of medical images

2015-02-27 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 10:08:19PM +0100, Karsten Hilbert wrote: > OK, in that case you don't need the above manual table based locking ! > > Use an exclusive advisory lock: > > > http://www.postgresql.org/docs/9.4/static/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS > > like so: > >

Re: Packaging of a Web viewer of medical images

2015-02-27 Thread Sébastien Jodogne
> À: debian-med@lists.debian.org > Envoyé: Mercredi 25 Février 2015 22:18:15 > Objet: Re: Packaging of a Web viewer of medical images > > On Wed, Feb 25, 2015 at 04:32:17PM +0100, Sébastien Jodogne wrote: > > > please note that official PostgreSQL support is now also availab

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:32:17PM +0100, Sébastien Jodogne wrote: > please note that official PostgreSQL support is now also available for > Orthanc [2]. For what it is worth I'd suggest to support connection URIs http://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONN

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 05:12:08PM +0100, Sébastien Jodogne wrote: > The locking of the database is just a feature to prevent two distinct > instances of Orthanc from using the same database. Nothing prevents 2 > instances of Orthanc from using the same PostgreSQL database, but this might > res

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Sébastien Jodogne
> This page mentions the need to --unlock the PG database under > certain circumstances. The locking of the database is just a feature to prevent two distinct instances of Orthanc from using the same database. Nothing prevents 2 instances of Orthanc from using the same PostgreSQL database, but t

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:32:17PM +0100, Sébastien Jodogne wrote: > [2] https://code.google.com/p/orthanc-postgresql/ This page mentions the need to --unlock the PG database under certain circumstances. May I ask whether Orthanc uses a persistent connection to PostgreSQL or temporary ones ? In

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Sébastien Jodogne
> > This has just been fixed. However, please note that official > > PostgreSQL support is now also available for Orthanc [2]. > > Is that "instead of SQLITE" ? Yes, the PostgreSQL plugins fully replace the SQLite back-end. Other plugins could be developed to override SQLite by other database ba

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:32:17PM +0100, Sébastien Jodogne wrote: > > I am delighted to see (but confused by seeing) mention of > > PostgreSQL on that site ? > > Whoops! Cut&paste error :) > > This has just been fixed. However, please note that official PostgreSQL > support is now also availab

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Sébastien Jodogne
> > [1] https://code.google.com/p/orthanc-webviewer/ > > I am delighted to see (but confused by seeing) mention of > PostgreSQL on that site ? Whoops! Cut&paste error :) This has just been fixed. However, please note that official PostgreSQL support is now also available for Orthanc [2]. I wil

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:12:06PM +0100, Sébastien Jodogne wrote: > The Orthanc project has just released a free and > open-source Web viewer of medical images that integrates > smoothly as a plugin to Orthanc [1]. The Web viewer is based > upon Chris Hafey's Cornerstone [2] and Mathieu Malaterre

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Sébastien Jodogne
> > My question is the following: What is the recommended way of > > "patching" a configuration file > > Debian policy strictly forbids modifying config files of > other packages. Thanks for your very helpful answer! > Other than that, would it not make sense to split the config file ? Yes, I w

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:12:06PM +0100, Sébastien Jodogne wrote: > [1] https://code.google.com/p/orthanc-webviewer/ I am delighted to see (but confused by seeing) mention of PostgreSQL on that site ? Karsten -- GPG key ID E4071346 @ eu.pool.sks-keyservers.net E167 67FD A291 2BEA 73BD 4537 78

Re: Packaging of a Web viewer of medical images

2015-02-25 Thread Karsten Hilbert
On Wed, Feb 25, 2015 at 04:12:06PM +0100, Sébastien Jodogne wrote: > My question is the following: What is the recommended way of "patching" a > configuration file Debian policy strictly forbids modifying config files of other packages. Typically, configuration file "snippets" are dropped into

Packaging of a Web viewer of medical images

2015-02-25 Thread Sébastien Jodogne
Dear Debian Med community, The Orthanc project has just released a free and open-source Web viewer of medical images that integrates smoothly as a plugin to Orthanc [1]. The Web viewer is based upon Chris Hafey's Cornerstone [2] and Mathieu Malaterre's GDCM [3]. I feel that this plugin might ea