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

Re: PG 9.1 regression / row comparison?

From: Denis de Bernardy <ddebernardy(at)yahoo(dot)com>
To: PG Testers <pgsql-testers(at)postgresql(dot)org>
Subject: Re: PG 9.1 regression / row comparison?
Date: 2011-06-15 21:07:29
Message-ID: 743036.48052.qm@web112401.mail.gq1.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-testers
I've actually traced it down to btree_gist. Not sure if this is the expected behavior:

test =# select row(1,2) <> row(1,2);
ERROR:  could not determine interpretation of row comparison operator <>
LINE 1: select row(1,2) <> row(1,2);
                        ^
HINT:  Row comparison operators must be associated with btree operator families.

test=# drop extension btree_gist cascade;
NOTICE:  drop cascades to constraint test_period_excl on table test.test_revs
DROP EXTENSION
test =# select row(1,2) <> row(1,2);
 ?column? 
----------
 f
(1 row)




>________________________________
>From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
>To: ddebernardy(at)yahoo(dot)com
>Cc: pgsql-testers(at)postgresql(dot)org
>Sent: Wednesday, June 15, 2011 4:40 AM
>Subject: Re: [TESTERS] PG 9.1 regression / row comparison?
>
>[...]
>> test=# select row(1,2) <> row(1,2);
>>
>> ERROR:  could not determine interpretation of row comparison operator <>
>> LINE 1: select row(1,2) <> row(1,2);
>>                         ^
>> HINT:  Row comparison operators must be associated with btree operator > families.
>
>Hi Denis,
>
>I don't get this error with 9.1beta2,
>
>$ uname -a
>Linux saturn 2.6.35.13-92.fc14.x86_64 #1 SMP Sat May 21 17:26:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
>$ psql
>psql (9.1beta2)
>Type "help" for help.
>
>gavin=> select row(1,2) <> row(1,2);
>?column?
>----------
>f
>(1 row)
>
>
>Cheers,
>Gavin
>-
>HOWTO Alpha/Beta Test:
>http://wiki.postgresql.org/wiki/HowToBetaTest
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-testers
>
>
>

In response to

Responses

pgsql-bugs by date

Next:From: John R PierceDate: 2011-06-16 05:37:17
Subject: Re: BUG #6062: psql terminates on auto-complete
Previous:From: SebastianDate: 2011-06-15 19:22:16
Subject: BUG #6062: psql terminates on auto-complete

pgsql-testers by date

Next:From: Mark WatsonDate: 2011-06-16 18:05:56
Subject: Re: 9.1Beta1 - Repeatable Crash on Windows
Previous:From: Gavin FlowerDate: 2011-06-15 02:40:32
Subject: Re: PG 9.1 regression / row comparison?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group