From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Bezverhijs Eduards <Eduards.Bezverhijs@tieto.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: segmentation fault with simple UPDATE statement (postgres 10.5)
Date: Wed, 12 Dec 2018 12:53:58 -0500
Message-ID: <1189.1544637238@sss.pgh.pa.us> (raw)
In-Reply-To: <20181212171616.6kxyhcf4hwllff5k@alap3.anarazel.de>
References: <b6cd572a-3e44-8785-75e9-c512a5a17a73@tieto.com>
<15361.1544631197@sss.pgh.pa.us>
<20181212171616.6kxyhcf4hwllff5k@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> Looking as to why that reference isn't corrected.
It's the bare Param that's the problem; the planner should've converted
that to a Var referencing the Param evaluated in the child plan node.
Working on patch now.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, Eduards.Bezverhijs@tieto.com
Subject: Re: segmentation fault with simple UPDATE statement (postgres 10.5)
In-Reply-To: <1189.1544637238@sss.pgh.pa.us>
References: <b6cd572a-3e44-8785-75e9-c512a5a17a73@tieto.com> <15361.1544631197@sss.pgh.pa.us> <20181212171616.6kxyhcf4hwllff5k@alap3.anarazel.de> <1189.1544637238@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