[COMMITTERS] pgsql: Fast promote mode skips checkpoint at end of recovery.

2013-01-28 Thread Simon Riggs
Fast promote mode skips checkpoint at end of recovery. pg_ctl promote -m fast will skip the checkpoint at end of recovery so that we can achieve very fast failover when the apply delay is low. Write new WAL record XLOG_END_OF_RECOVERY to allow us to switch timeline correctly for downstream log read

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.

[COMMITTERS] pgsql: REASSIGN OWNED: handle shared objects, too

2013-01-28 Thread Alvaro Herrera
REASSIGN OWNED: handle shared objects, too Give away ownership of shared objects (databases, tablespaces) along with local objects, per original code intention. Try to make the documentation clearer, too. Per discussion about DROP OWNED's brokenness, in bug #7748. This is not backpatched becaus

[COMMITTERS] pgsql: DROP OWNED: don't try to drop tablespaces/databases

2013-01-28 Thread Alvaro Herrera
DROP OWNED: don't try to drop tablespaces/databases My "fix" for bugs #7578 and #6116 on DROP OWNED at fe3b5eb08a1 not only misstated that it applied to REASSIGN OWNED (which it did not affect), but it also failed to fix the problems fully, because I didn't test the case of owned shared objects.