Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B21E9475D20 for ; Thu, 16 Jan 2003 13:06:44 -0500 (EST) Received: from ns1.gnw.de (ns1.turtle-entertainment.de [193.41.200.20]) by postgresql.org (Postfix) with ESMTP id 3A1AD475BD7 for ; Thu, 16 Jan 2003 13:06:41 -0500 (EST) Received: from [213.148.158.226] (helo=mail.office.turtle-entertainment.de) by ns1.gnw.de with esmtp (Exim 3.16 #1 (Debian)) id 18ZEPa-0002Gn-00; Thu, 16 Jan 2003 19:06:42 +0100 Received: from p5084b2d9.dip.t-dialin.net ([80.132.178.217] helo=shock) by mail.office.turtle-entertainment.de with asmtp (Exim 3.22 #7 (Debian)) id 18ZEPT-00013i-00; Thu, 16 Jan 2003 19:06:35 +0100 Message-ID: <002201c2bd8a$01add060$0564a8c0@toolteam.net> From: "Bjoern Metzdorf" To: "Christopher Smith" , References: <20030116173128.35406.qmail@web14101.mail.yahoo.com> Subject: Re: asynchronous psql command options? Date: Thu, 16 Jan 2003 19:06:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Scanner: exiscan *18ZEPT-00013i-00*dtZ0P62Uvjg* http://duncanthrax.net/exiscan/ X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/173 X-Sequence-Number: 7015 > i used psql via ssh on dial-up and closed the ssh client. I logged in again and it showed that the postmater process was still running.. I thought that the index building process would continue 'til completion. try ( echo '´CREATE INDEX blablabla' | psql database >> log.txt ) & on your (bash) shell. You should be able to log out safely then and have the output in log.txt. Regards, Bjoern