Re: Can't open Postgres at all!!! - Mailing list pgsql-general

From Tom Lane
Subject Re: Can't open Postgres at all!!!
Date
Msg-id 4705.1156430634@sss.pgh.pa.us
Whole thread Raw
In response to Re: Can't open Postgres at all!!!  ("Silvela, Jaime \(Exchange\)" <JSilvela@Bear.com>)
List pgsql-general
"Silvela, Jaime \(Exchange\)" <JSilvela@Bear.com> writes:
>> If the index entries for the system catalogs themselves are hosed,
>> you may have to start the session with PGOPTIONS="-P" (to disable
>> trusting system indexes) in order to do REINDEX successfully.

> Excuse my ignorance, how do I do that. Linux env setting? Is it a
> command line option for Postmaster?

Originally it was only a postmaster command line option, but since about
7.4 you can set it in psql's environment, and that's what I'd recommend
for a one-shot repair effort.

            regards, tom lane

pgsql-general by date:

Previous
From: Rajarshi Guha
Date:
Subject: getting around 'out of memory' errors
Next
From: Tom Lane
Date:
Subject: Re: getting around 'out of memory' errors