agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Robert Patrick <rp2y@postgres.Berkeley.EDU>
To: postgres@postgres.Berkeley.EDU
Subject: Re: postmaster getting confused
Date: Thu, 15 Jun 1995 11:09:03 -0700
Message-ID: <199506151809.LAA02823@utopia.CS.Berkeley.EDU> (raw)

> 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/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: rp2y@postgres.Berkeley.EDU
  Subject: Re: postmaster getting confused
  In-Reply-To: <199506151809.LAA02823@utopia.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox