Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9EE1E476E5E for ; Thu, 16 Jan 2003 14:09:59 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 3140D476D1C for ; Thu, 16 Jan 2003 13:56:54 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h0GIus5u026343; Thu, 16 Jan 2003 13:56:54 -0500 (EST) To: Christopher Smith Cc: pgsql-admin@postgresql.org Subject: Re: asynchronous psql command options? In-reply-to: <20030116173128.35406.qmail@web14101.mail.yahoo.com> References: <20030116173128.35406.qmail@web14101.mail.yahoo.com> Comments: In-reply-to Christopher Smith message dated "Thu, 16 Jan 2003 09:31:28 -0800" Date: Thu, 16 Jan 2003 13:56:53 -0500 Message-ID: <26342.1042743413@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/174 X-Sequence-Number: 7016 Christopher Smith writes: > 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? It worked for me in a quick test here: issue CREATE INDEX command, "kill -9" the psql client from another window, wait for indexing to finish. I wonder whether you had started a transaction block, viz begin; create index ...; <> Without a commit to match the begin, the index would be discarded. Another likely prospect is that the CREATE INDEX command actually failed (ran out of disk space, for example). Did you look in the postmaster log to see if any error message was recorded? regards, tom lane