Re: [GENERAL] Kill specific connection

2006-09-13 Thread Steve Crawford
snacktime wrote: > What's a safe way to kill a specific connection to the database? I'm > testing some code that reconnects if a connection has timed out or > gone bad and I need to simulate a connection that has gone away. There are various ways. The two easiest are to use iptables to block netw

Re: [GENERAL] Kill specific connection

2006-09-13 Thread Tom Lane
snacktime <[EMAIL PROTECTED]> writes: > What's a safe way to kill a specific connection to the database? I'm > testing some code that reconnects if a connection has timed out or > gone bad and I need to simulate a connection that has gone away. Disconnecting a network cable might be the easiest t