pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bjoern Metzdorf <bm@turtle-entertainment.de>
To: Christopher Smith <christopherl_smith@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: asynchronous psql command options?
Date: Thu, 16 Jan 2003 19:06:30 +0100
Message-ID: <002201c2bd8a$01add060$0564a8c0@toolteam.net> (raw)
References: <20030116173128.35406.qmail@web14101.mail.yahoo.com>

> 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




view thread (7+ messages)  latest in thread

Message-ID: <002201c2bd8a$01add060$0564a8c0@toolteam.net>
Permalink:  ../002201c2bd8a$01add060$0564a8c0@toolteam.net/
Also on:    postgresql.org/message-id/002201c2bd8a$01add060$0564a8c0@toolteam.net

 · 

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: bm@turtle-entertainment.de, christopherl_smith@yahoo.com
  Subject: Re: asynchronous psql command options?
  In-Reply-To: <002201c2bd8a$01add060$0564a8c0@toolteam.net>
  References: <20030116173128.35406.qmail@web14101.mail.yahoo.com> <002201c2bd8a$01add060$0564a8c0@toolteam.net>

* 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