Pavel Raiskup
533a1efbb6
postgresql-setup: work even if $PATH is unset or empty
...
.. by setting $PATH to default value. Also check for command
existence by 'command' built-in instead of checking for file
existence.
Version: 9.3.4-2
Resolves : #1097317
2014-05-14 13:34:35 +02:00
Pavel Raiskup
6d2de0b6b6
postgresql-setup: typos
...
Version: 9.3.2-7
2014-01-23 10:56:07 +01:00
Pavel Raiskup
a43ac073bc
postgresql-setup: add PGSETUP_PGUPGRADE_OPTIONS
...
This allows user to use something like
PGSETUP_PGUPGRADE_OPTIONS="-o '-B 5MB'" to work-around badly set
kernel.shmax value.
Version: 9.3.2-6
2014-01-21 15:55:42 +01:00
Pavel Raiskup
7df4c0e471
postgresql-setup: handle --version option earlier
...
This generated the manual page badly before as the output of
--version option depended on system's postgresql.service (not
available at a build time). So handle options rather at the
beginning of the script.
Version: 9.3.2-5
2014-01-20 15:03:32 +01:00
Pavel Raiskup
ca2964b709
docu: document postgresql-setup in --help a little
...
Also automatically generate manual page from the help output.
Version: 9.3.2-4
2014-01-20 09:49:16 +01:00
Pavel Raiskup
8e40185581
postgresql-setup: do not pretend 'sh' compatibility
...
At least the way the script is prepared for translation is adopted
from bash.
Version: 9.3.2-4
2014-01-13 10:01:47 +01:00
Pavel Raiskup
2f213ebd1d
postgresql-setup: add $PGSETUP_INITDB_OPTIONS
...
Users may now specify by this variable parameters passed to initdb
run. See `man initdb(1)`. This may help if user gets stacked
with bug #1007802 .
Related: #1007802
Version: 9.3.2-4
2014-01-13 10:01:44 +01:00
Pavel Raiskup
083dd21498
postgresql-setup: do not stop server when it can't be started
...
Version: 9.3.2-4
2014-01-13 09:59:32 +01:00
Pavel Raiskup
4c6bd5df12
postgresql-setup: lint
...
Rather use the --ignore-space-change when showing differences.
Version: 9.3.2-2
2013-12-16 14:43:19 +01:00
Jozef Mlich
85e0b076bc
postgresql-setup: ignore misconfigure pg_hba.conf when upgrading
...
Resolves : #1040364
Version: 9.3.2-2
2013-12-16 14:39:50 +01:00
Pavel Raiskup
63807df6fc
postgresql-setup: fail earlier during bad $PGDATA dir creation
...
Related: #972425
Version: 9.2.4-2
2013-06-11 11:04:44 +02:00
Tom Lane
1cd49a06e5
Fix bugs 891531 and 891547
2013-01-03 18:37:36 -05:00
Tom Lane
de5b387d8f
Fix postgresql-setup to rely on systemd to parse the unit file
2012-03-17 12:47:37 -04:00
Tom Lane
338b75480d
Fix postgresql-setup, re-add init script
2012-03-13 19:38:14 -04:00
Tom Lane
72893f4818
Convert to systemd startup support
2011-07-27 19:32:24 -04:00