pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: s.p.e@gmx-topmail.de
Cc: pgsql-bugs@lists.postgresql.org, Jeff Davis <jdavis@postgresql.org>
Subject: Re: Postgress 13.x: wrong result for delete with subquery
Date: Thu, 04 Feb 2021 23:02:45 -0500
Message-ID: <75588.1612497765@sss.pgh.pa.us> (raw)
In-Reply-To: <2828817.1611959177@sss.pgh.pa.us>
References: <trinity-1c565d44-159f-488b-a518-caf13883134f-1611835701633@3c-app-gmx-bap78>
	<2828817.1611959177@sss.pgh.pa.us>

I wrote:
> We might be able to salvage this by having find_hash_columns examine
> the Agg node's grpColIdx list and assume that columns listed there need
> to be preserved.

Hearing nothing from Jeff, I went ahead and pushed a fix along that line.

			regards, tom lane





view thread (3+ messages)

Message-ID: <75588.1612497765@sss.pgh.pa.us>
Permalink:  ../75588.1612497765@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/75588.1612497765@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, s.p.e@gmx-topmail.de, jdavis@postgresql.org
  Subject: Re: Postgress 13.x: wrong result for delete with subquery
  In-Reply-To: <75588.1612497765@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