Re: Does Type Have = Operator?

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Kevin Grittner <kgrittn(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Does Type Have = Operator?
Date: 2016-05-11 17:23:05
Message-ID: 3B17B047-B0E2-4F4D-899E-5C13C71CD8C7@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On May 11, 2016, at 10:19 AM, Kevin Grittner <kgrittn(at)gmail(dot)com> wrote:

> As long as you don't assume too much about *what* is equal.
>
> test=# select '(1,1)(2,2)'::box = '(-4.5,1000)(-2.5,1000.5)'::box;
> ?column?
> ----------
> t
> (1 row)

Oh, well crap. Maybe I’d be better off just comparing the plain text of the expressions as Tom suggested.

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shawn 2016-05-11 17:24:41 Re: Need help debugging why autovacuum seems "stuck" -- until I use superuser to vacuum freeze pg_database
Previous Message Kevin Grittner 2016-05-11 17:19:31 Re: Does Type Have = Operator?