From: Ari Jolma <ajolma@ahti.hut.fi>
To: Patricia Rodriguez-Tome <tome@ebi.ac.uk>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Problem with simple select, RestrictionClauseSelectivity ERROR
Date: Wed, 13 Jan 1999 21:24:24 +0200
Message-ID: <3.0.32.19990113212421.006b78a0@ahti.hut.fi> (raw)
>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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: ajolma@ahti.hut.fi, tome@ebi.ac.uk
Subject: Re: [SQL] Problem with simple select, RestrictionClauseSelectivity ERROR
In-Reply-To: <3.0.32.19990113212421.006b78a0@ahti.hut.fi>
References: <3.0.32.19990113212421.006b78a0@ahti.hut.fi>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox