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 1q6is2-0002SO-Km for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2023 02:25:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q6is0-0006oC-0q for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2023 02:25:56 +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 1q6irz-0006o3-NH for pgsql-hackers@lists.postgresql.org; Wed, 07 Jun 2023 02:25:55 +0000 Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q6irx-000dGE-4v for pgsql-hackers@postgresql.org; Wed, 07 Jun 2023 02:25:54 +0000 Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-565cfe4ece7so75829877b3.2 for ; Tue, 06 Jun 2023 19:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686104752; x=1688696752; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5DrAjydUgjrU2IWEoFc5EEPbA4HO528gCOR5HTLNYw4=; b=eAXCiNy+5nmguZ2QApn4ClMlDkIBg+M+VhEXA/U/ZZvOBoL6Wcz4DJrVbIj8MHIvkM AcKhp8trcSVmBmanvH0l9VTQhKWuhj4qp1gUgg4q5R3RN+ncBQ2K6bsjcb0/9ITicMeB Mh2hRDb3bg6v62+qfc+Q6iCaMYI8yK2GOT/GQie5V2EyDfamgxs90sW/9eBN8g8f7hJU 3o42ojZk2UMm4PeFbZSDJzzfUSNDowHz2KLuKQhGFQpvEDqVHpHem4XZriuo8WEfnQph t8wDc1fe4F5HfOPxX/8za/0IxiKH7yqpK7ELEgJ8B2qdnUZeVNGZCOpz1q5fAbxlRERx Dpyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686104752; x=1688696752; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5DrAjydUgjrU2IWEoFc5EEPbA4HO528gCOR5HTLNYw4=; b=DHpWnS0bV3XQ2PvAy0z+nDfDDGy9daeNYaZLq/OeV1mU9ouEftJim673owaZHoJlr2 R+WsL+Bkyv7p/BX8GsoiLAcZBRSPm+H4J/rSS4CWUrP+cGRZV231FqgMrSpfxMLXVbOq Uf4PlYEWomJzHTj/YP4WipqJiZ31/jgDBZUIZdM626RxcToG6fY4Q/cEJqq2GjAXlKJ7 Mza6y9PWnTmNJVHU20XnyVkoF6P+bsm/BOWMQ31eISzq+g1waWR0R8kuwl6cWBsn8fmW RTOT+ih3k+9Z9DiIwqvIlmXr8IGRp5MuEBuY90y47lbviGPCg+Me+Lsls5I/lybG+re4 +ZaQ== X-Gm-Message-State: AC+VfDyqImMlc0DwyAl7Bgw36C6FVkxHldSdyLdC931UPKS/yTjoyrHy xpazaedD54EhMB6TWxX+KE+yjAyraCgI6nMN7iI= X-Google-Smtp-Source: ACHHUZ4L9/nuci1jpvr030CsYQNhmNsHkQFU2k1yJvsM1v8geXy0b7agrTuag60tBY1ARSyd3LVz3igLMGgW6WVt8Js= X-Received: by 2002:a81:5d05:0:b0:561:e7bb:36a1 with SMTP id r5-20020a815d05000000b00561e7bb36a1mr4259113ywb.49.1686104752076; Tue, 06 Jun 2023 19:25:52 -0700 (PDT) MIME-Version: 1.0 References: <20230606201132.i3xjwpsg36p6tii7@alvherre.pgsql> <228188.1686082950@sss.pgh.pa.us> In-Reply-To: <228188.1686082950@sss.pgh.pa.us> From: Richard Guo Date: Wed, 7 Jun 2023 10:25:40 +0800 Message-ID: Subject: Re: Assert failure of the cross-check for nullingrels To: Tom Lane Cc: Alvaro Herrera , PostgreSQL-development Content-Type: multipart/alternative; boundary="000000000000cd402705fd80da9b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000cd402705fd80da9b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 7, 2023 at 4:22=E2=80=AFAM Tom Lane wrote: > Alvaro Herrera writes: > > So, is this done? I see that you made other commits fixing related cod= e > > several days after this email, but none seems to match the changes you > > posted in this patch; and also it's not clear to me that there's any > > test case where this patch is expected to change behavior. (So there's > > also a question of whether this is a bug fix or rather some icying on > > cake.) This issue is fixed at 991a3df22. > Well, the bugs I was aware of ahead of PGCon are all fixed, but there > are some new reports I still have to deal with. I left the existing > open issue open, but maybe it'd be better to close it and start a new > one? I went ahead and closed it, and then started two new open items for the two new issues --- one is about assert failure and wrong query results due to incorrectly removing PHVs, the other is about inconsistent nulling bitmap in nestloop parameters. Thanks Richard --000000000000cd402705fd80da9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Jun 7, 2023 at 4:22=E2=80=AFAM To= m Lane <tgl@sss.pgh.pa.us> w= rote:
Alvaro Her= rera <alvhe= rre@alvh.no-ip.org> writes:
> So, is this done?=C2=A0 I see that you made other commits fixing relat= ed code
> several days after this email, but none seems to match the changes you=
> posted in this patch; and also it's not clear to me that there'= ;s any
> test case where this patch is expected to change behavior.=C2=A0 (So t= here's
> also a question of whether this is a bug fix or rather some icying on<= br> > cake.)

This issue is fixed at 991a3df2= 2.
=C2=A0
Well, the bugs I was aware of ahead of PGCon are all fixed, but there
are some new reports I still have to deal with.=C2=A0 I left the existing open issue open, but maybe it'd be better to close it and start a new one?

I went ahead and closed it, and then s= tarted two new open items for the
two new issues --- one is about assert= failure and wrong query results
due to incorrectly removing PHVs, the o= ther is about inconsistent
nulling bitmap in nestloop parameters.
Thanks
Richard
--000000000000cd402705fd80da9b--