row value constructor bug?

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: row value constructor bug?
Date: 2001-10-10 01:18:42
Message-ID: 20011010101842Q.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In my understanding below row value constructors(I hope this term is
correct) exaples should return true, but PostgreSQL does not.

test=# select (1,0) > (0,0);
?column?
----------
f
(1 row)

test=# select (0,1) > (0,0);
?column?
----------
f
(1 row)

In my understanding, (a,b) > (c,d) is equal to:

 a > c or (a = c and b > d)
--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2001-10-10 01:33:04 TOAST and TEXT
Previous Message Tatsuo Ishii 2001-10-10 01:12:01 Re: [HACKERS] Unicode combining characters