Re: Selecting newly added column returns empty but only when selecting with other columns in table

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Selecting newly added column returns empty but only when selecting with other columns in table
Дата
Msg-id CAKFQuwZbs8-0_Hd4GAah4ysMxVRB5fifV14pR5rESYa8ATxgag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Selecting newly added column returns empty but only when selecting with other columns in table  (mrtruji <mrtruji@gmail.com>)
Ответы Re: Selecting newly added column returns empty but only when selecting with other columns in table  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Thursday, November 26, 2015, mrtruji <mrtruji@gmail.com> wrote:
Ok this is strange. Shouldn't it always be one or the other? Total row count for the table is 279,096. 

doggies=# select count(*) from data where features_bin is null;
 count
--------
 279096
(1 row)

doggies=# select count(*) from data where features_bin is not null;
 count
--------
 279096
(1 row)


 Please bottom post.

What do you get with explain analyze on those two queries.

David J.

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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Selecting newly added column returns empty but only when selecting with other columns in table
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Selecting newly added column returns empty but only when selecting with other columns in table