pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: anton.lugovoy.hopni@gmail.com
Subject: BUG #16511: Using '= all ( )' with empty table returns true
Date: Thu, 25 Jun 2020 17:40:04 +0000
Message-ID: <16511-ca1a7368d7453b7b@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16511
Logged by:          Anton Luhavy
Email address:      anton.lugovoy.hopni@gmail.com
PostgreSQL version: 10.7
Operating system:   MacOS
Description:        

Given table is "task" (id uuid primary key, status text not null),
Query "select 'b' = all (select status from task where status = 'a')"
returns true if table "task" is empty



view thread (2+ messages)  latest in thread

Message-ID: <16511-ca1a7368d7453b7b@postgresql.org>
Permalink:  ../16511-ca1a7368d7453b7b@postgresql.org/
Also on:    postgresql.org/message-id/16511-ca1a7368d7453b7b@postgresql.org

 · 

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: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, anton.lugovoy.hopni@gmail.com
  Subject: Re: BUG #16511: Using '= all ( )' with empty table returns true
  In-Reply-To: <16511-ca1a7368d7453b7b@postgresql.org>

* 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