Re: [SQL] Problem with simple select, RestrictionClauseSelectivity ERROR

From: Ari Jolma <ajolma(at)ahti(dot)hut(dot)fi>
To: Patricia Rodriguez-Tome <tome(at)ebi(dot)ac(dot)uk>, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Problem with simple select, RestrictionClauseSelectivity ERROR
Date: 1999-01-13 19:24:24
Message-ID: 3.0.32.19990113212421.006b78a0@ahti.hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>I have a very simple select , and get an error back I do not understand
> :
>rhalloc=> select id from groupe where species='mouse';
>ERROR: RestrictionClauseSelectivity: bad value
>-170141183460469231731687303715884105728.000000
>
>I can select on all the other fields. The field species was added after the
>creation of the table, and the data in that field added at that time.

I have had similar problems. I'm now used to fixing it by making a new table:

select * into new from old;

this way the new column in the old table is not new anymore and the error
goes away (I don't know what's happening under the hood)

Ari

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Frank Morton 1999-01-13 19:48:17 Solaris Startup
Previous Message Bruce Momjian 1999-01-13 18:51:54 Re: [SQL] Problem with simple select, RestrictionClauseSelectivity ERROR