Re: Assert failure in try_nestloop_path() - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: Assert failure in try_nestloop_path()
Date
Msg-id 4a0d7906-14f4-4992-8815-16e17e1f6655@gmail.com
Whole thread
In response to Re: Assert failure in try_nestloop_path()  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
Hello Richard and Tom,

10.09.2026 04:36, Richard Guo wrote:
On Wed, Sep 9, 2026 at 11:35 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

I wonder if we should leave the Assert bits out of v19.  The intent to
have hard prevention of duplicate clauses is a brand new aspiration,
and I have pretty much no faith that no such cases remain.  I don't
really want to commit to fixing all such cases in v19.
Fair point.  I kept the assertions on HEAD only, with a note in the
commit message.

I've pushed both to master and v19.

I've discovered that:
echo "geqo_threshold = 2" >/tmp/temp.config
TEMP_CONFIG=/tmp/temp.config TESTS="partition_join" make -s check-tests

triggers one of the assertions:
TRAP: failed Assert("no_duplicate_clause_serials(*restrict_clauses)"), File: "relnode.c", Line: 2079, PID: 634394

Could you have a look, please?

Best regards,
Alexander

pgsql-hackers by date:

Previous
From: "Jelte Fennema-Nio"
Date:
Subject: Re: Extension security improvement: Add support for extensions with an owned schema
Next
From: Noah Misch
Date:
Subject: Re: remove_useless_joins vs. bug #19560