REINDEX syntax?

From: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
To: pgsql-general(at)postgreSQL(dot)org
Subject: REINDEX syntax?
Date: 2003-03-03 10:15:42
Message-ID: 3E632B4E.50406@mega-bucks.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to reindex a database but it seems I'm getting the steps
wrong. According to the docs I have I need to shutdown the postmaster,
start a backend and issue the reindex command on the DB I want to
reindex. But I get an error telling me no DB is open:

[postgres(at)localhost pgsql]$ postgres -D /usr/local/pgsql/data -O -P TAL
LOG: database system was shut down at 2003-03-03 19:15:04 JST
LOG: checkpoint record is at 0/9630738
LOG: redo record is at 0/9630738; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 818752; next oid: 436991
LOG: database system is ready

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

backend> Reindex database TAL force;
ERROR: REINDEX DATABASE: Can be executed only on the currently open

Has something changed for 7.3.2?

Thanks,

Jc

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abhishek Verma 2003-03-03 10:29:26 problem while inslalling fink on ms os x
Previous Message Jean-Christian Imbeault 2003-03-03 10:08:26 www.postgresql.org down