Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group