Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, November 26, 2015, mrtruji <mrtruji@xxxxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux