BUG #3938: Row-wise comparison fails
- From: "" <cgriffo(at)practicepartner(dot)com>
- To: pgsql-bugs(at)postgresql(dot)org
- Subject: BUG #3938: Row-wise comparison fails
- Date: Thu, 7 Feb 2008 00:45:08 GMT
- Message-id: <200802070045(dot)m170j8eU062362(at)wwwmaster(dot)postgresql(dot)org>
The following bug has been logged online:
Bug reference: 3938
Logged by:
Email address: cgriffo(at)practicepartner(dot)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);
Home |
Main Index |
Thread Index