ERROR: REINDEX DATABASE: Can be executed only on the currently open database.

From: Clodoaldo Pinto Neto <clodoaldo_pinto(at)yahoo(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: ERROR: REINDEX DATABASE: Can be executed only on the currently open database.
Date: 2004-04-11 23:01:33
Message-ID: 20040411230133.74986.qmail@web40901.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I suspect there is something wrong because it takes 73s to delete a single line
from a table whith 140 lines. So I tried to reindex the database:

bash-2.05b$ postgres -P -O -D /var/lib/pgsql/data KakaoStats
LOG: database system was shut down at 2004-04-11 19:55:10 BRT
LOG: checkpoint record is at 7/9505D650
LOG: redo record is at 7/9505D650; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 24438; next oid: 1850892
LOG: database system is ready

POSTGRES backend interactive interface
1.307.2.1 2003/01/01 21:57:18

backend> reindex database KakaoStats
ERROR: REINDEX DATABASE: Can be executed only on the currently open database.
backend>

______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora!
http://br.download.yahoo.com/messenger/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edmund Dengler 2004-04-12 02:05:58 REINDEX slow?
Previous Message Alexander Cohen 2004-04-11 22:42:37 pg_ctl written in c