Re: Problem with database: FATAL 1: cannot find attribute 24 - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem with database: FATAL 1: cannot find attribute 24
Date
Msg-id 11045.1000758888@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with database: FATAL 1: cannot find attribute 24  ("Tauren Mills" <tauren@servlets.net>)
Responses Re: Problem with database: FATAL 1: cannot find attribute 24
List pgsql-general
"Tauren Mills" <tauren@servlets.net> writes:
> Then, I try running postgres like this:
> bash$ postgres -d 5 -D /var/lib/pgsql/data dans_pgsql
> AATAL 1:  cannot find attribute 24 of relation

Since there aren't any system catalogs with as many as 24 columns, the
problem is clearly a level or two down from where the error is being
reported.  Try running that standalone backend under gdb with a
breakpoint set at elog, and get a stack trace when the error is reached.
(Note that each of the "debug" messages also goes through elog, so the
first elog entry is not the one you want.)

You might have to recompile with debugging symbols enabled to get any
useful information from gdb.

            regards, tom lane

pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: locale and spanish acute
Next
From: Stephan Szabo
Date:
Subject: Re: [HACKERS] MySQL development MUST immdediately cease - Due to