comparing rows - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject comparing rows
Date
Msg-id 20000803100907T.t-ishii@sra.co.jp
Whole thread Raw
Responses Re: comparing rows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Can anyone explain the ERROR below? Is this a bug or a feature?
This is 7.0.2.

test=# select (1,2,3) = (1,2,3);?column? 
----------t
(1 row)

test=# select (1,2,3) = (1,2,9);?column? 
----------f
(1 row)

test=# select (1,2,3) = (1,2,null);?column? 
----------
(1 row)

test=# select (1,2,null) = (1,2,null);
ERROR:  Unable to identify an operator '=' for types 'unknown' and 'unknown'You will have to retype this query using an
explicitcast
 
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: random() function produces wrong range
Next
From: Tom Lane
Date:
Subject: Re: comparing rows