Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 138A647626E for ; Thu, 16 Jan 2003 16:23:15 -0500 (EST) Received: from perrin.int.nxad.com (unknown [66.250.180.251]) by postgresql.org (Postfix) with ESMTP id 8E90447623F for ; Thu, 16 Jan 2003 16:23:14 -0500 (EST) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id 6ED3821065; Thu, 16 Jan 2003 13:23:08 -0800 (PST) Date: Thu, 16 Jan 2003 13:23:08 -0800 From: Sean Chittenden To: Christopher Smith Cc: pgsql-admin@postgresql.org Subject: Re: asynchronous psql command options? Message-ID: <20030116212308.GC34165@perrin.int.nxad.com> References: <20030116173128.35406.qmail@web14101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030116173128.35406.qmail@web14101.mail.yahoo.com> User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 6CEB 1B06 BFD3 70F6 95BE 7E4D 8E85 2E0A 5F5B 3ECB X-Web-Homepage: http://sean.chittenden.org/ X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/178 X-Sequence-Number: 7020 > recently, my dsl provider went out of business, currently, I am > using dial-up and I need to build indexes of a very large database > table. this take a few hours... > > 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. > > however, this morning no indexes were built. Is it possible to send > commands via psql asynchronous. Does anyone know why the index > building process stopped? If you use screen(1) and detach from it, then reattach to it at a later date, there may be some diagnostic output sent to the screen. # Start work ssh.... screen -d -R -S psql psql... Ctrl-a d exit # Come back a few hours later: ssh.... screen -d -R -S psql [check to see if there's any output] exit # the screen session exit # exit ssh -- Sean Chittenden