Re: Commit 86dc90056 - Rework planning and execution of UPDATE and DELETE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Commit 86dc90056 - Rework planning and execution of UPDATE and DELETE
Date
Msg-id 217262.1618842840@sss.pgh.pa.us
Whole thread Raw
In response to Commit 86dc90056 - Rework planning and execution of UPDATE and DELETE  (Rushabh Lathia <rushabh.lathia@gmail.com>)
Responses Re: Commit 86dc90056 - Rework planning and execution of UPDATE and DELETE
List pgsql-hackers
Rushabh Lathia <rushabh.lathia@gmail.com> writes:
> With the commit mentioned in the $subject, I am seeing the
> change in behaviour with the varlena header size.

Interesting.  AFAICS, the new behavior is correct and the old is wrong.
SET STORAGE PLAIN is supposed to disable use of TOAST features, including
short varlena headers.  So now that's being honored by the UPDATE, but
before it was not.  I have no idea exactly why that changed though ---
I'd expect that to be implemented in low-level tuple-construction logic
that the planner rewrite wouldn't have changed.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Windows default locale vs initdb
Next
From: Amit Langote
Date:
Subject: Re: Commit 86dc90056 - Rework planning and execution of UPDATE and DELETE