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: 2008-02-07 00:45:08
Message-ID: 200802070045.m170j8eU062362@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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);

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gevik Babakhani 2008-02-07 09:35:35 BUG #3939: (Possibly) no NLS in 8.3 Windows
Previous Message Tom Lane 2008-02-06 23:28:59 Re: BUG #3937: timestamp null value comparison in subquery using IN/NOT IN