How to simulate crashes of PostgreSQL?

From: Sergey Samokhin <prikrutil(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to simulate crashes of PostgreSQL?
Date: 2009-08-22 20:03:43
Message-ID: e42595410908221303v6906307ew786cdf8625d1a223@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello!

To make my client application tolerant of PostgreSQL failures I first
need to be able to simulate them in a safe manner (hard reset isn't a
solution I'm looking for :)

Is there a way to disconnect all the clients as if the server has
crashed? It should look like a real crash from the client's point of
view.

Is using kill what everyone should use for these purposes?

Thanks.

--
Sergey Samokhin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Ross 2009-08-22 20:31:16 Multiple table entries?
Previous Message Daniel Verite 2009-08-22 19:48:25 Re: bytea corruption?