pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Cc: Gregory Stark (as CFM) <stark.cfm@gmail.com>
Cc: Michał Kłeczek <michal@kleczek.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Richard Guo <guofenglinux@gmail.com>
Subject: Re: Removing unneeded self joins
Date: Sun, 18 Feb 2024 21:00:00 +0300
Message-ID: <dde78ada-b933-7d55-64b2-a1be31317802@gmail.com> (raw)
In-Reply-To: <CAPpHfdtB0A1Rz8k5yPMCM6ngLt2JM4NSaG8rF0=wT-txdcEf3g@mail.gmail.com>
References: <64486b0b-0404-e39e-322d-0801154901f3@postgrespro.ru>
	<1bd80083-a13e-4e9f-a7ce-73c3faab521c@postgrespro.ru>
	<CAPpHfdsz8E085YF2VoJe2+h4YAShsh7p--t3kQfQTntiCy63Xg@mail.gmail.com>
	<922623af-872e-4cdc-9238-129b18bee42d@postgrespro.ru>
	<CAPpHfduoAHTp6O7Q8PDe_w=30v0n_06pGe5M65iR4DYcfaYnRw@mail.gmail.com>
	<107682e0-137a-d0fb-2733-7fc6e9562690@gmail.com>
	<CAPpHfduLxYm4biJrTbjBxTAW6vkxBswuQ2B=gXU+c37QJd6+Ow@mail.gmail.com>
	<a89f480f-8143-0965-f22d-0a892777f501@gmail.com>
	<0c5f461f-e26f-4fd9-9700-91b0e9c38fd6@postgrespro.ru>
	<336c748b-4ffe-5915-3d3c-ece6d19e021c@gmail.com>
	<4788f781-31bd-9796-d7d6-588a751c8787@gmail.com>
	<CAPpHfduYKqbWWT=YuBJyoExrwsJSgjUuJN1Gsr2YZMG=nh_ctQ@mail.gmail.com>
	<CAPpHfdvu+wyazT+ujJbJ5rKZrHQoG+FCVeWENA4pyf_A1W1WAA@mail.gmail.com>
	<56ee4520-e9d1-d519-54fe-c8bff880ce9b@gmail.com>
	<CAPpHfdsJ=MZNFw0L2T_k-shOk+4dPNx9j5RZzicy3NW+yiiQVg@mail.gmail.com>
	<CAPpHfdtB0A1Rz8k5yPMCM6ngLt2JM4NSaG8rF0=wT-txdcEf3g@mail.gmail.com>

18.02.2024 19:18, Alexander Korotkov wrote:
> Attached is a draft patch fixing this query. Could you, please, recheck?

Yes, this patch fixes the behavior for that query (I've also tried several
similar queries). Though I don't know the code well enough to judge the
code change.

Best regards,
Alexander






view thread (247+ messages)  latest in thread

Message-ID: <dde78ada-b933-7d55-64b2-a1be31317802@gmail.com>
Permalink:  ../dde78ada-b933-7d55-64b2-a1be31317802@gmail.com/
Also on:    postgresql.org/message-id/dde78ada-b933-7d55-64b2-a1be31317802@gmail.com

 · 

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-hackers@postgresql.org
  Cc: exclusion@gmail.com, aekorotkov@gmail.com, a.lepikhov@postgrespro.ru, stark.cfm@gmail.com, michal@kleczek.org, pgsql-hackers@lists.postgresql.org, guofenglinux@gmail.com
  Subject: Re: Removing unneeded self joins
  In-Reply-To: <dde78ada-b933-7d55-64b2-a1be31317802@gmail.com>

* 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