BUG #3938: Row-wise comparison fails - Mailing list pgsql-bugs

From
Subject BUG #3938: Row-wise comparison fails
Date
Msg-id 200802070045.m170j8eU062362@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3938: Row-wise comparison fails  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3938
Logged by:
Email address:      cgriffo@practicepartner.com
PostgreSQL version: 8.3
Operating system:   Windows XP
Description:        Row-wise comparison fails
Details:

The row-wise compare fails in the select statement below. This works in
PostgreSQL 8.2 but fails in 8.3.

--drop TABLE test;

CREATE TABLE test
(
  id integer,
  str1 character varying(5),
  str2 character
);
CREATE INDEX test_index1 ON test (str1, str2);

insert into test (id, str1, str2) values(1, 'a', '1');
insert into test (id, str1, str2) values(2, 'b', '2');

SELECT * from test where (str1, str2, id) > ('a', '1', 0);

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3937: timestamp null value comparison in subquery using IN/NOT IN
Next
From: "Gevik Babakhani"
Date:
Subject: BUG #3939: (Possibly) no NLS in 8.3 Windows