gtakahashi@palantir.com writes:
> select a,b from test_table where (a,b) > ('a','a') order by a,b;
> returns:
> a | b
> ---+---
> a | b
> b | a
> (2 rows)
> create index on test_table (a,b);
> The same query now returns:
> a | b
> ---+---
> a | b
> (1 row)
Ugh. This bug just passed its tenth birthday ... kind of astonishing
that nobody found it before. Will fix, thanks for the report!
regards, tom lane