Re: using xmin in a query? - Mailing list pgsql-general

From Tom Lane
Subject Re: using xmin in a query?
Date
Msg-id 3468.1311881265@sss.pgh.pa.us
Whole thread Raw
In response to using xmin in a query?  (Michael Nolan <htfoot@gmail.com>)
Responses Re: using xmin in a query?
List pgsql-general
Michael Nolan <htfoot@gmail.com> writes:
> Why does this query succeed:
> select count(*) from tablename where xmin = 2

> while this query fails:

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

It told you why not:

> ERROR:  operator does not exist: xid <> integer

You could do "where not (xmin = 2)", I suppose.

            regards, tom lane

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: How to implement autostart of postgres?
Next
From: Michael Nolan
Date:
Subject: Re: using xmin in a query?