Control: retitle -1 installing dictionary package appears to restart postgresql
Re: Peter Eisentraut 2013-08-10 <20130810015034.11992.95565.report...@vanquo.pezone.net> > Installing a dictionary package, for example apt-get install > hunspell-de-de, ends up restarting all PostgreSQL servers on the > machine, because the dictionary trigger calls postinst, which restarts > everything because of the way debhelper sets this up. I think that's > a fairly radical reaction. > > This might be more general problem. Maybe a fix in debhelper is > needed? Hi Peter, we have already applied the "dh_installinit -r" fix in postgresql-common's debian/rules file. Unfortunately it still looks like the servers are (re)started, while in fact only "start" is invoked, so running servers are not affected: Entpacken von hunspell-fr (aus .../hunspell-fr_1%3a3.3.0-4_all.deb) ... Trigger für postgresql-common werden verarbeitet ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... de_de en_us fr Removing obsolete dictionary files: [ ok ] Starting PostgreSQL 9.1 database server: main. hunspell-fr (1:3.3.0-4) wird eingerichtet ... postgresql-9.1-main.log confirms the running server is not restarted. It might be smarter just to do nothing with the servers here, or just invoke "reload", if necessary. (Or at least show a less frightening output on the console.) Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature