A parsing question

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: A parsing question
Date: 2020-06-03 22:41:37
Message-ID: CAOzAqu+0zfJ4235Mp3ssMcp4VH57rk9xhw44Lg4MrA1YtG2YNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Recently I was typing in a query in PG 10.4.

What I MEANT to type was: Where xyz >= 2400

What I actually typed was: Where xyz >- 2400

The latter was interpreted as 'where xyz > -2400', but I'm wondering if it
shouldn't have thrown an error on an unrecognized operator '>-'

Thoughts?
--
Mike Nolan
htfoot(at)gmail(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2020-06-03 22:47:42 Re: Oracle vs. PostgreSQL - a comment
Previous Message Alvaro Herrera 2020-06-03 22:32:14 Re: Oracle vs. PostgreSQL - a comment on Mysql