From: | Mike Mascari <mascarm(at)mascari(dot)com> |
---|---|
To: | Teruel Tony <teruel_tony(at)excite(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: |
Date: | 2000-04-26 02:28:47 |
Message-ID: | 3906545F.DDA6C97C@mascari.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Teruel Tony wrote:
>
> Hi,
>
> The query is simple:
>
> select count(*) from table;
>
> I have the same error message with almost all queries,
> I'm trying to debug what's new on that table (data)
> because it was working fine..
>
> The version I'm using:
>
> PostgreSQL 6.5.3 on i586-pc-linux-gnu, compiled by gcc egcs-2.91.66
>
> The table:
>
> +----------------------------+----------------------------+------+
> | Field | Type |Length|
> +----------------------------+----------------------------+------+
> | dfoclave | int4 not null | 4 |
> | dfoforo | int4 not null | 4 |
> | dfopadre | int4 | 4 |
> | dfonombre | varchar() | 80 |
> | dfotitulo | varchar() | 80 |
> | dfofecha | timestamp not null | 4 |
> | dfotexto | text | var |
> +----------------------------+----------------------------+------+
>
Just a wild shot, of course - but perhaps an index or relation
file is corrupted. Unless the table is unusually large, I don't
see how the backend could die on this one. Perhaps you could
peform a manual COPY, drop and recreate the table and its indexes
and COPY the data back in.
Hope that helps,
Mike Mascari
From | Date | Subject | |
---|---|---|---|
Next Message | Joachim Achtzehnter | 2000-04-26 04:13:54 | Re: Revisited: Transactions, insert unique. |
Previous Message | Lincoln Yeoh | 2000-04-26 02:27:01 | Re: Revisited: Transactions, insert unique. |