[COMMITTERS] pgsql: Fix postmaster's handling of fork failure for a bgworker process

2017-04-24 Thread Tom Lane
Fix postmaster's handling of fork failure for a bgworker process. This corner case didn't behave nicely at all: the postmaster would (partially) update its state as though the process had started successfully, and be quite confused thereafter. Fix it to act like the worker had crashed, instead.

[COMMITTERS] pgsql: Fix postmaster's handling of fork failure for a bgworker process

2017-04-24 Thread Tom Lane
Fix postmaster's handling of fork failure for a bgworker process. This corner case didn't behave nicely at all: the postmaster would (partially) update its state as though the process had started successfully, and be quite confused thereafter. Fix it to act like the worker had crashed, instead.

[COMMITTERS] pgsql: Fix postmaster's handling of fork failure for a bgworker process

2017-04-24 Thread Tom Lane
Fix postmaster's handling of fork failure for a bgworker process. This corner case didn't behave nicely at all: the postmaster would (partially) update its state as though the process had started successfully, and be quite confused thereafter. Fix it to act like the worker had crashed, instead.

[COMMITTERS] pgsql: Fix postmaster's handling of fork failure for a bgworker process

2017-04-24 Thread Tom Lane
Fix postmaster's handling of fork failure for a bgworker process. This corner case didn't behave nicely at all: the postmaster would (partially) update its state as though the process had started successfully, and be quite confused thereafter. Fix it to act like the worker had crashed, instead.