Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZujK-00080c-RX for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Oct 2021 12:48:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZuio-0001DR-0T for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Oct 2021 12:48:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZu8N-0007hC-9g for pgsql-bugs@lists.postgresql.org; Mon, 11 Oct 2021 12:10:23 +0000 Received: from sender4-op-o11.zoho.com ([136.143.188.11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZu8K-0001I6-Lf for pgsql-bugs@lists.postgresql.org; Mon, 11 Oct 2021 12:10:22 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1633954209; cv=none; d=zohomail.com; s=zohoarc; b=XFFbDFwhTLxyR4etHfggaT+VVt6Y0Jp3pV1ubwfoX7LhFpZ33YcpjwCu6oNpBRAKVjn1aliJ1G2W+FuBfZo7TU7x4JhBZS1N1ZgV2/A9w9kw+7RnTLeRjGFh482BZMrEXIX2bH3uhLtNN0K9692MPkjcAmvSdkKze3gfaNbGIWQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633954209; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=eKF7tjPc2brzIHfe4nUAVzOiRz1m3I3ucMOiB/4DtT8=; b=BGUo4NHfAlb23f47HPvu54cWBricWa25o44ddV9l8I5mK/45FSTyeIL+hAFNT4N1UmfJJ2vriecX1f/gLI6o3hXkH5aRbEMKWpBAB+ttiVB7ARU7+k0M6jph6hWb9E+H7GaRXWO1PSBTscMrBQGm4E9M/S1dh3LOnLU0tFQ5Eas= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=yottadb.com; spf=pass smtp.mailfrom=nars@yottadb.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1633954209; s=bam5eec4; d=yottadb.com; i=nars@yottadb.com; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=eKF7tjPc2brzIHfe4nUAVzOiRz1m3I3ucMOiB/4DtT8=; b=T4Eh2fyoop11y/oG8VpdREUwu6PmAR2LFytVwUJEWWkYN5Z6XddPTPRtShG5hlv6 wgmzsgdgnCy5zIMp9NOs1NwxvbUhLJM/Xnn3aRsnVieufou7eokEETiL/UatOtUSiF9 CcFLzxJS2Aj7fP3i0fMDUoFn/PKfZ2ND3+pb/VN8= Received: from NARSWIN10 (static-71-162-243-192.phlapa.fios.verizon.net [71.162.243.192]) by mx.zohomail.com with SMTPS id 1633954207981642.3750141205286; Mon, 11 Oct 2021 05:10:07 -0700 (PDT) From: "Narayanan Iyer" To: "'Francisco Olarte'" Cc: "'PostgreSQL mailing lists'" , References: <0e0301d7bc59$a1e416b0$e5ac4410$@yottadb.com> <0efd01d7bc62$d9467810$8bd36830$@yottadb.com> In-Reply-To: Subject: RE: GROUP BY using tablename.* does not work if tablename has 1 column with NULL values Date: Mon, 11 Oct 2021 08:10:04 -0400 Message-ID: <14b101d7be98$ed5731e0$c80595a0$@yottadb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFDuJQIdzhfXF3+VBqkdhB2CmBVAgG4tYK2AWRi2ugCQWkyZazKywBg Content-Language: en-us X-Antivirus: Avast (VPS 211010-4, 10/10/2021), Outbound message X-Antivirus-Status: Clean X-ZohoMailClient: External List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Francisco, Sorry about the quoting style. I am used to including the original email = in my response for better context. Did not realize that would get pasted = in the discussion thread. I don't have a way of editing it. If you do, = please remove those prior emails in my response.=20 You are right. My inner query was an outer join returning 3 rows. But = what I did not understand was that the NULLs in 2 of the 3 rows were = different because 1 was a composite NULL and 1 was a ROW(NULL) and hence = they showed up as 2 different NULLs/rows even after a GROUP BY. Tom's = explanation cleared it up for me. So no issues. Like I mentioned in another response, please close this = bug report. I don't think I can. Narayanan.