Re: UBSAN crash in EventTriggerCollectAlterTSConfig (memcpy with NULL src)

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Florin Irion <irionr(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: UBSAN crash in EventTriggerCollectAlterTSConfig (memcpy with NULL src)
Date: 2026-03-04 14:10:07
Message-ID: 202603041409.3v3sijzyr43k@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Mar-03, Florin Irion wrote:

> On 03/03/26 20:48, Álvaro Herrera wrote:
>
> > Cool, yeah, this is broken. I propose to add the corresponding test in
> > src/test/modules/test_ddl_deparse though -- that way we don't need
> > another event trigger. So how about like this?
>
> LGTM, I had to look up the CREATE TEXT SEARCH CONFIGURATION
> first time I saw it.

Okay, thanks, pushed to all branches.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"But static content is just dynamic content that isn't moving!"
http://smylers.hates-software.com/2007/08/15/fe244d0c.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2026-03-04 14:11:16 Re: doc: add note that wal_level=logical doesn't set up logical replication in itself
Previous Message Japin Li 2026-03-04 14:01:19 Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement