On Mon, Sep 27, 2010 at 12:22 PM, Nicolas Barbier <nicolas.barb...@gmail.com> wrote: > According to the Two Generals' Problem [1], one of the sides > necessarily doesn't know whether the other side has received its last > packet. Therefore, TCP lets one of the sides sit in TIME_WAIT status > for as long as any packets could in principle survive on the network > (typically defined as 2 minutes on IP networks IIRC), and potentially > disturb a new connection between the same (dst IP, dst port, src IP, > src port) combination.
In other words, this is the way TCP is designed to work, not something specific to PostgreSQL. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers