pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
The != and +/- signs are joined together as an operator
3+ messages / 3 participants
[nested] [flat]

* The != and +/- signs are joined together as an operator
@ 2025-03-19 01:23  =?utf-8?B?6LCt5b+g5rab?= <zhongtao.tan@seaboxdata.com>
  0 siblings, 1 reply; 3+ messages in thread

From: 谭忠涛 @ 2025-03-19 01:23 UTC (permalink / raw)
  To: pgsql-bugs <pgsql-bugs@lists.postgresql.org>

case:
select 1 !=-1;
select 1 !=+1;





Regards



谭忠涛&nbsp; &nbsp;数据研究院数据库事业部
北京东方金信科技股份有限公司
地址:海淀区知春路7号致真大厦 D 座 14 层
路线:地铁10号线-西土城站-A口
手机:13920129934
公众号:东方金信
网址:www.seaboxdata.com
关于东方金信
&nbsp; &nbsp; 北京东方金信科技股份有限公司成立于2013年2月。公司拥有ISO9001、 ISO27001和CMMI5级认证;中国大数据企业50强;首批通过工信部数据中心联盟大数据基础能力和性能双认证;首个国家信息中心“数据资产研究中心”授牌单位;全国信标委智慧城市及大数据标准工作组成员,2017年入选Gartner全球大数据行业和人工智能报告;2019年与腾讯云成为战略合作伙伴并获腾讯数亿元投资;2020年获中金、海淀区国资委入股。

Attachments:

  87EDAB89@568F1C7A.951CDA6700000000.png (application/octet-stream, 85.4K) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: The != and +/- signs are joined together as an operator
@ 2025-03-19 14:07  David G. Johnston <david.g.johnston@gmail.com>
  parent: =?utf-8?B?6LCt5b+g5rab?= <zhongtao.tan@seaboxdata.com>
  0 siblings, 1 reply; 3+ messages in thread

From: David G. Johnston @ 2025-03-19 14:07 UTC (permalink / raw)
  To: 谭忠涛 <zhongtao.tan@seaboxdata.com>; +Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>

On Tuesday, March 18, 2025, 谭忠涛 <zhongtao.tan@seaboxdata.com> wrote:

> case:
> select 1 !=-1;
> select 1 !=+1;
>
>
Explain why you think it is a bug.  From what I see those are potentially
valid operator names that do not exist so “operator not found” is the
correct outcome.

David J.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: The != and +/- signs are joined together as an operator
@ 2025-03-19 14:34  Tom Lane <tgl@sss.pgh.pa.us>
  parent: David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2025-03-19 14:34 UTC (permalink / raw)
  To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: 谭忠涛 <zhongtao.tan@seaboxdata.com>; pgsql-bugs <pgsql-bugs@lists.postgresql.org>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tuesday, March 18, 2025, 谭忠涛 <zhongtao.tan@seaboxdata.com> wrote:
>> select 1 !=-1;
>> select 1 !=+1;

> Explain why you think it is a bug.  From what I see those are potentially
> valid operator names that do not exist so “operator not found” is the
> correct outcome.

Our rules for operator names are here:

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-OPERATORS

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2025-03-19 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-03-19 01:23 The != and +/- signs are joined together as an operator =?utf-8?B?6LCt5b+g5rab?= <zhongtao.tan@seaboxdata.com>
2025-03-19 14:07 ` David G. Johnston <david.g.johnston@gmail.com>
2025-03-19 14:34   ` Tom Lane <tgl@sss.pgh.pa.us>

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