Search Postgresql Archives

Re: using xmin in a query?

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

 





On Thu, Jul 28, 2011 at 12:23 PM, Andy Colson <andy@xxxxxxxxxxxxxxx> wrote:
On 7/28/2011 11:40 AM, Michael Nolan wrote:
Why does this query succeed:

select count(*) from tablename where xmin = 2

while this query fails:

select count(*) from tablename where xmin != 2


You probably want <>.

That doesn't work either.
--
Mike Nolan


select count(*) from tablename where xmin <> 2

-Andy


[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