Re: segmentation fault with simple UPDATE statement (postgres 10.5)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Bezverhijs Eduards <Eduards(dot)Bezverhijs(at)tieto(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: segmentation fault with simple UPDATE statement (postgres 10.5)
Date: 2018-12-12 17:53:58
Message-ID: 1189.1544637238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stuart 2018-12-12 20:00:22 Errors creating partitioned tables from existing using (LIKE <table>) after renaming table constraints
Previous Message Andres Freund 2018-12-12 17:16:16 Re: segmentation fault with simple UPDATE statement (postgres 10.5)