pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean Chittenden <sean@chittenden.org>
To: Christopher Smith <christopherl_smith@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: asynchronous psql command options?
Date: Thu, 16 Jan 2003 13:23:08 -0800
Message-ID: <20030116212308.GC34165@perrin.int.nxad.com> (raw)
In-Reply-To: <20030116173128.35406.qmail@web14101.mail.yahoo.com>
References: <20030116173128.35406.qmail@web14101.mail.yahoo.com>

> 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



view thread (7+ messages)

Message-ID: <20030116212308.GC34165@perrin.int.nxad.com>
Permalink:  ../20030116212308.GC34165@perrin.int.nxad.com/
Also on:    postgresql.org/message-id/20030116212308.GC34165@perrin.int.nxad.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sean@chittenden.org, christopherl_smith@yahoo.com
  Subject: Re: asynchronous psql command options?
  In-Reply-To: <20030116212308.GC34165@perrin.int.nxad.com>
  References: <20030116173128.35406.qmail@web14101.mail.yahoo.com> <20030116212308.GC34165@perrin.int.nxad.com>

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

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