Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 111BA476146 for ; Tue, 11 Jun 2002 17:33:02 -0400 (EDT) Received: from web13801.mail.yahoo.com (web13801.mail.yahoo.com [216.136.175.11]) by postgresql.org (Postfix) with SMTP id 6484C47677C for ; Tue, 11 Jun 2002 17:27:53 -0400 (EDT) Message-ID: <20020611212752.70848.qmail@web13801.mail.yahoo.com> Received: from [216.173.173.66] by web13801.mail.yahoo.com via HTTP; Tue, 11 Jun 2002 14:27:52 PDT Date: Tue, 11 Jun 2002 14:27:52 -0700 (PDT) From: Chris Gamache Reply-To: cgg007@yahoo.com Subject: Re: "ERROR:" Messages To: Darren Ferguson , Neil Conway Cc: pgsql-general@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200206/347 X-Sequence-Number: 25499 The solution is not as sexy as the one I was hoping for... :) I'm not one to look a gift-horse in the mouth. Thank you for your responses, which were right on target. I imagine I can combine the debug_print_query with the logging to a postgres.log and just do a tail -f postgres.log | grep -B1 ERROR: and see where I'm going wrong! CG --- Darren Ferguson wrote: > Redirect the output to a logfile of your choice. There was a huge talk > about this yesterday on the list. > > #!/bin/bash > HOME=/usr/local/pgsql > LOG=$HOME/logs/postgres.log > USER=darren > > ulimit -SHc unlimited > su $USER -c "nohup $HOME/bin/postmaster -D $HOME/db $@ >$LOG 2>&1 > > This script above is what i use to start the postmaster and as you can see > i redirect the output to the file postgres.log. There are also different > logging levels in the postgres.conf file that you can turn on. > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com