Created attachment 849207 [details] do not stop server when it can't be started In short: Add some documentation (and manual page) and introduce PGSETUP_INITDB_OPTIONS variable useful for dealing with locale problems (bug #1007802). More info in attached patches. If there are no complaints, I would merge this into rawhide branch very soon.
Created attachment 849208 [details] add $PGSETUP_INITDB_OPTIONS
Created attachment 849209 [details] do not pretend 'sh' compatibility
Created attachment 849210 [details] move script generation to proper place
Created attachment 849211 [details] document postgresql-setup in --help a little