Re: asynchronous psql command options? - Mailing list pgsql-admin

From Bjoern Metzdorf
Subject Re: asynchronous psql command options?
Date
Msg-id 002201c2bd8a$01add060$0564a8c0@toolteam.net
Whole thread Raw
In response to asynchronous psql command options?  (Christopher Smith <christopherl_smith@yahoo.com>)
List pgsql-admin
> 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


pgsql-admin by date:

Previous
From: Christopher Smith
Date:
Subject: asynchronous psql command options?
Next
From: Tom Lane
Date:
Subject: Re: asynchronous psql command options?