pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org, Richard Guo <guofenglinux@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Peter Geoghegan <pg@bowt.ie>
Subject: Re: BUG #17798: Incorrect memory access occurs when using BEFORE ROW UPDATE trigger
Date: Sun, 14 Jan 2024 15:00:00 +0300
Message-ID: <f4722428-18eb-19b7-ad6c-ec8aed92c8c5@gmail.com> (raw)
In-Reply-To: <1110148.1705188555@sss.pgh.pa.us>
References: <17798-0907404928dcf0dd@postgresql.org>
	<f5ff446f-72e2-44f7-80c6-4256cf7caeb3@gmail.com>
	<a4a8cf37-e9d5-3c58-fc2e-d217cf66f315@gmail.com>
	<1849610.1682807087@sss.pgh.pa.us>
	<e989408c-1838-61cd-c968-1fcf47c6fbba@gmail.com>
	<CA+TgmoZz1fGaTnOSf1yQhwYovEEkJZ9iioQXnLgaJz+1fBip=g@mail.gmail.com>
	<494cd7c4-c109-6886-c0e3-138a95e7e38b@gmail.com>
	<CA+TgmoYAsQWMqMUNNdyp8V0KVxMoz=0y+3XNCf3ST-o1yyz5Jg@mail.gmail.com>
	<74335d44-819d-60e0-859a-efe74d9c84c2@gmail.com>
	<CA+TgmoYkOp=jDg15ugJDwxqoA6drAPBZmOJkhZJ11HZWhEYx6w@mail.gmail.com>
	<b64c183f-4ae1-0b16-afcf-11101ebc4213@gmail.com>
	<CA+TgmobRr7iWYNNj+-djD6AkoS5trpL8JznXbfO74+dtmCsOsg@mail.gmail.com>
	<325298.1705009396@sss.pgh.pa.us>
	<94ca869c-472b-f1cf-3d7c-aa8530f5475d@gmail.com>
	<17124cd9-6515-2076-6eac-40d44388f833@gmail.com>
	<492826.17050! ! 80506@sss.pgh.pa.us>
	<CA+Tgmoa+1HXZAOYiHL5_=+akjyRSDLcHBx-FvmfuwsvFXCkAKg@mail.gmail.com>
	<794095.1705092767@sss.pgh.pa.us>
	<1110148.1705188555@sss.pgh.pa.us>

Hello Tom,

14.01.2024 02:29, Tom Lane wrote:
> So, after a bit more work on the comments, I end with the attached.

Thank you very much for the detailed explanation and for the final patch!
I have no questions regarding the fix proposed.

I've retested it with my demo test just to be sure and encountered no
issues.

Best regards,
Alexander





view thread (37+ messages)  latest in thread

Message-ID: <f4722428-18eb-19b7-ad6c-ec8aed92c8c5@gmail.com>
Permalink:  ../f4722428-18eb-19b7-ad6c-ec8aed92c8c5@gmail.com/
Also on:    postgresql.org/message-id/f4722428-18eb-19b7-ad6c-ec8aed92c8c5@gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: exclusion@gmail.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, guofenglinux@gmail.com, andres@anarazel.de, pg@bowt.ie
  Subject: Re: BUG #17798: Incorrect memory access occurs when using BEFORE ROW UPDATE trigger
  In-Reply-To: <f4722428-18eb-19b7-ad6c-ec8aed92c8c5@gmail.com>

* 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