Re: backend hangs at immediate shutdown (Re: Back-branch update releases coming in a couple weeks)

Kevin Grittner <kgrittn@ymail.com>

From: Kevin Grittner <kgrittn@ymail.com>
To: MauMau <maumau307@gmail.com>, Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@postgreSQL.org" <pgsql-hackers@postgreSQL.org>
Date: 2013-01-31T22:59:16Z
Lists: pgsql-hackers
MauMau <maumau307@gmail.com> wrote:

> Just doing "pkill postgres" will unexpectedly terminate postgres
> of other instances.

Not if you run each instance under a different OS user, and execute
pkill with the right user.  (Never use root for that!)  This is
just one of the reasons that you should not run multiple clusters
on the same machine with the same OS user.

-Kevin


Commits

  1. Consistency check should compare last record replayed, not last record read.

  2. Update minimum recovery point on truncation.