pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: cyg0810@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17088: FailedAssertion in prepagg.c
Date: Wed, 07 Jul 2021 17:22:17 -0400
Message-ID: <1909846.1625692937@sss.pgh.pa.us> (raw)
In-Reply-To: <87a6mxrggq.fsf@news-spur.riddles.org.uk>
References: <17088-e33882b387de7f5c@postgresql.org>
	<YOWJQTovI//DNe8/@paquier.xyz>
	<1908212.1625690962@sss.pgh.pa.us>
	<87a6mxrggq.fsf@news-spur.riddles.org.uk>

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> A number of places in the planner have to explicitly avoid recursing
> into GroupingFunc->args when walking trees specifically because they are
> not evaluated. It looks to me like some places where that should have
> been checked for were missed. Looking into it.

Hmm.  Maybe it'd be better if the default behavior in
expression_tree_walker/mutator did not include recursing into the args,
then?  I am thinking this might be comparable to SubLinks/SubPlans, where
the walker has to take explicit action if it wants to recurse into the
sub-query.

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <1909846.1625692937@sss.pgh.pa.us>
Permalink:  ../1909846.1625692937@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1909846.1625692937@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, andrew@tao11.riddles.org.uk, michael@paquier.xyz, cyg0810@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17088: FailedAssertion in prepagg.c
  In-Reply-To: <1909846.1625692937@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