pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Denis de Bernardy <ddebernardy@yahoo.com>
To: PG Testers <pgsql-testers@postgresql.org>
Subject: Re: PG 9.1 regression / row comparison?
Date: Wed, 15 Jun 2011 14:07:29 -0700 (PDT)
Message-ID: <743036.48052.qm@web112401.mail.gq1.yahoo.com> (raw)
In-Reply-To: <4DF81BA0.3000601@archidevsys.co.nz>
References: <4DF81BA0.3000601@archidevsys.co.nz>

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@archidevsys.co.nz>
>To: ddebernardy@yahoo.com
>Cc: pgsql-testers@postgresql.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
>
>
>

view thread (3+ messages)

Message-ID: <743036.48052.qm@web112401.mail.gq1.yahoo.com>
Permalink:  ../743036.48052.qm@web112401.mail.gq1.yahoo.com/
Also on:    postgresql.org/message-id/743036.48052.qm@web112401.mail.gq1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: ddebernardy@yahoo.com
  Subject: Re: PG 9.1 regression / row comparison?
  In-Reply-To: <743036.48052.qm@web112401.mail.gq1.yahoo.com>
  References: <4DF81BA0.3000601@archidevsys.co.nz> <743036.48052.qm@web112401.mail.gq1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox