pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 片本 亘祐(ユニークビジョン) <katamoto_kosuke@uniquevision.co.jp>
Cc: pgsql-bugs@postgresql.org
Subject: Re:
Date: Wed, 08 Feb 2017 21:37:51 -0500
Message-ID: <7504.1486607871@sss.pgh.pa.us> (raw)
In-Reply-To: <CABNcpK6n1cQ2ESbiEu+Qdp_L2uSLSjEqZ1pJSCS=jbCVMRP15w@mail.gmail.com>
References: <CABNcpK6n1cQ2ESbiEu+Qdp_L2uSLSjEqZ1pJSCS=jbCVMRP15w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?UTF-8?B?54mH5pysIOS6mOelkO+8iOODpuODi+ODvOOCr+ODk+OCuOODp+ODs++8iQ==?= <katamoto_kosuke@uniquevision.co.jp> writes:
> select
> 1 <> all(array[2,1,1])
> ->false --bug

What makes you think that's a bug?  There are array elements that
the "1" fails to be not equal to.

> select
> 1 <> any(array[2,1,1])
> ->true --bug

There is an array element that the "1" is not equal to.
I see no bug here either.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <7504.1486607871@sss.pgh.pa.us>
Permalink:  ../7504.1486607871@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7504.1486607871@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, katamoto_kosuke@uniquevision.co.jp
  Subject: Re:
  In-Reply-To: <7504.1486607871@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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