Re: doc typo sql-reindex.html psql vs. postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Janning Vygen <vygen(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: doc typo sql-reindex.html psql vs. postgres
Date: 2005-10-20 14:04:26
Message-ID: 9316.1129817066@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Janning Vygen <vygen(at)gmx(dot)de> writes:
> At
> http://www.postgresql.org/docs/8.0/static/sql-reindex.html

> it says:

> Rebuild all system indexes in a particular database,
> without trusting them to be valid already:

> $ export PGOPTIONS="-P"
> $ psql broken_db

> It should be:

> Rebuild all system indexes in a particular database,
> without trusting them to be valid already:

> $ export PGOPTIONS="-P"
> $ postgres broken_db
> ^^^^^^^^
> ,shouldn't it?

No, it's correct as it stands. You used to need a standalone backend
for that, but not anymore. (PGOPTIONS isn't recognized by a standalone
backend anyway, IIRC, so there would be more wrong with the example than
that if it were wrong.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-10-20 14:09:18 Re: NULL != text ?
Previous Message Richard Huxton 2005-10-20 14:01:29 Re: NEW in Rule makes another nextval call?