pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Smith <christopherl_smith@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: asynchronous psql command options?
Date: Thu, 16 Jan 2003 11:46:13 -0800 (PST)
Message-ID: <20030116194613.89076.qmail@web14108.mail.yahoo.com> (raw)
In-Reply-To: <26342.1042743413@sss.pgh.pa.us>


disk space ran out.  Is it possible to predict the filename to be used for indexes and hence create a link to another open disk.
I think that the filename used are oids?
please advise
 Tom Lane <tgl@sss.pgh.pa.us> wrote: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


---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

view thread (7+ messages)  latest in thread

Message-ID: <20030116194613.89076.qmail@web14108.mail.yahoo.com>
Permalink:  ../20030116194613.89076.qmail@web14108.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030116194613.89076.qmail@web14108.mail.yahoo.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: christopherl_smith@yahoo.com, tgl@sss.pgh.pa.us
  Subject: Re: asynchronous psql command options?
  In-Reply-To: <20030116194613.89076.qmail@web14108.mail.yahoo.com>
  References: <26342.1042743413@sss.pgh.pa.us> <20030116194613.89076.qmail@web14108.mail.yahoo.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