git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ba66752) | patch
pg_ctl: Add idempotent option
2013年4月14日 03:42:42 +0000 (23:42 -0400)
2013年4月14日 03:42:42 +0000 (23:42 -0400)
commit 87306184580c9c49717b00d48a2f9e717f21e0a8
pg_ctl: Add idempotent option

This changes the behavior of the start and stop actions to exit
successfully if the server was already started or stopped.

This changes the default behavior of the start action: Before, if the
server was already running, it would print a message and succeed. Now,
that situation will result in an error. When running in idempotent
mode, no message is printed and pg_ctl exits successfully.

It was considered to just make the idempotent behavior the default and
only option, but pg_upgrade needs the old behavior.
contrib/start-scripts/linux diff | blob | blame | history
doc/src/sgml/ref/pg_ctl-ref.sgml diff | blob | blame | history
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /