Re: [HACKERS] One I've never seen before:

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] One I've never seen before:
Дата
Msg-id 199902241731.MAA17263@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] One I've never seen before:  (The Hermit Hacker <scrappy@hub.org>)
Список 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oleg Broytmann
Дата:
Сообщение: Re: [HACKERS] VACUUM ANALYZE problem on linux
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] One I've never seen before: