From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | scrappy(at)hub(dot)org (The Hermit Hacker) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] One I've never seen before: |
Date: | 1999-02-24 17:31:50 |
Message-ID: | 199902241731.MAA17263@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
> quick appendum to my own...
>
> the 'category' field was created with an 'alter table' command, if that
> helps any...
>
> even from psql, it comes back:
>
> postgresql=> select category from tools where category = 'projects';
> ERROR: RestrictionClauseSelectivity: bad value 163645.593750
>
> If I do it without the where clause, or a where cluase on any other field,
> all appears well, its only teh one I created with 'alter table' that is
> "screwed"...
>
> Neat...if I rename the table to something else, the problem goes away. If
> I rename it to old_tools, it still exists, but if I rename it to software,
> the problem disappears...*raised eyebrows*
>
> and the table looks like:
Fixed. Problem was I was not initializing the new column properly.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-02-24 17:32:34 | Re: [HACKERS] One I've never seen before: |
Previous Message | Oleg Broytmann | 1999-02-24 15:58:29 | Re: [HACKERS] VACUUM ANALYZE problem on linux |