Re: backend hangs at immediate shutdown

Tatsuo Ishii <ishii@postgresql.org>

From: Tatsuo Ishii <ishii@postgresql.org>
To: tgl@sss.pgh.pa.us
Cc: maumau307@gmail.com, andres@2ndquadrant.com, pgsql-hackers@postgresql.org
Date: 2013-01-30T23:27:13Z
Lists: pgsql-hackers
> This isn't an area that admits of quick-fix solutions --- everything
> we might do has disadvantages.  Also, the lack of complaints to date
> shows that the problem is not so large as to justify panic responses.
> I'm not really inclined to mess around with a tradeoff that's been
> working pretty well for a dozen years or more.

What about adding a caution to the doc something like:

	 "pg_ctl -m -i stop" may cause a PostgreSQL hang if native laguage support enabled.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


Commits

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

  2. Update minimum recovery point on truncation.