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

From: Janning Vygen <vygen(at)gmx(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: doc typo sql-reindex.html psql vs. postgres
Date: 2005-10-20 16:04:53
Message-ID: 200510201804.54067.vygen@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Donnerstag, 20. Oktober 2005 16:04 schrieb Tom Lane:
> Janning Vygen <vygen(at)gmx(dot)de> writes:
> > it says:
> > $ export PGOPTIONS="-P"
> > $ psql broken_db
> >
> > It should be:
> > $ export PGOPTIONS="-P"
> > $ postgres broken_db
>
> 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.)

ok, sorry. I had some corrupted indexes and just did
$ postgres -P broken_db
and got a shell to send
$ REINDEX DATATBASE broken_db
as far as i can remember, so i thought i could throw in my two cents to
improve postgresql.

By the way: What i really miss is a troubleshooting document in the docs. I
run postgresql for over 4 years now and i have come across many situations
where i really would need something like this. You can find most solutions by
reading the documentation entirely but it is not very helpful if your
production database went wrong and you are quite a bit in a hurry.

kind regards,
janning

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dean Gibson (DB Administrator) 2005-10-20 16:28:25 Re: PSQL suggested enhancement
Previous Message Richard Huxton 2005-10-20 16:01:18 Re: Oracle and PostgreSQL...