Re: segmentation fault with simple UPDATE statement (postgres 10.5) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: segmentation fault with simple UPDATE statement (postgres 10.5)
Date
Msg-id 1189.1544637238@sss.pgh.pa.us
Whole thread Raw
In response to Re: segmentation fault with simple UPDATE statement (postgres 10.5)  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: segmentation fault with simple UPDATE statement (postgres 10.5)
Next
From: Stuart
Date:
Subject: Errors creating partitioned tables from existing using (LIKE ) after renaming table constraints