Re: doc typo sql-reindex.html psql vs. postgres - Mailing list pgsql-general

From Tom Lane
Subject Re: doc typo sql-reindex.html psql vs. postgres
Date
Msg-id 9316.1129817066@sss.pgh.pa.us
Whole thread Raw
In response to doc typo sql-reindex.html psql vs. postgres  (Janning Vygen <vygen@gmx.de>)
Responses Re: doc typo sql-reindex.html psql vs. postgres  (Janning Vygen <vygen@gmx.de>)
List pgsql-general
Janning Vygen <vygen@gmx.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

pgsql-general by date:

Previous
From: Andrew Kelly
Date:
Subject: Re: [HACKERS] 'a' == 'a '
Next
From: Richard Huxton
Date:
Subject: Re: NEW in Rule makes another nextval call?