Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id LAA02160 for postgres-redist; Thu, 15 Jun 1995 11:09:04 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199506151809.LAA02160@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from utopia.CS.Berkeley.EDU (utopia.CS.Berkeley.EDU [128.32.37.54]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id LAA02150 for <postgres@nobozo.cs.berkeley.edu>; Thu, 15 Jun 1995 11:09:03 -0700
Received: from utopia.CS.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by utopia.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id LAA02823 for <postgres@nobozo.cs.berkeley.edu>; Thu, 15 Jun 1995 11:09:03 -0700
From: Robert Patrick <rp2y@postgres.Berkeley.EDU>
Message-Id: <199506151809.LAA02823@utopia.CS.Berkeley.EDU>
X-Mailer: exmh version 1.6 4/21/95
To: postgres@postgres.Berkeley.EDU
Subject: Re: postmaster getting confused
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 15 Jun 1995 11:09:03 -0700
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Thu, 15 Jun 95 11:09:04 -0700
Resent-XMts: smtp

> Hi, I'm using Postgres 4.2 on a PC running Solarisx86 2.4.  I'm
> developing an application using tcl.  My problem is that every time my
> tcl program crashes (which is currently whenever I run it), I have to
> kill the postmaster and restart it.  (Otherwise I get the "cannot write
> block x of ... blind" message.).  This is fine, but to restart
> Postmaster, I usually have to wait five minutes or I get a "bind()
> failed" error.  This means I have to wait five minutes between every
> test run of my application and it's getting painful!  Does anybody have
> any advice?  Running ipcclean does not seem to help.

You can always start the postmaster on a new port each time by either 
resetting PGPORT or using the "-p ####" option to the postmaster command.

Robert


==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
