pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Work around broken TimescaleDB code
Date: Mon, 09 Nov 2026 14:22:05 +0000
Message-ID: <E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org> (raw)

Work around broken TimescaleDB code

TimescaleDB crashes if an attribute option is present during chunk
creation as part of a DDL command, due to calling AlterTableInternal()
without having set up event trigger state.  With the introduction of
attribute versioning, which stores the version in an internal attribute
option in the back-branches, attribute options are much more common.

The breakage is easy enough to work around, so do that.

This will only be applied to release branches, as this is clearly a bug
in TimescaleDB.

Security: CVE-2026-6460
Backpatch-through: 14-19

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f8d39154b401aaade47971f32c8ef9a4881228c
Author: Andres Freund <andres@anarazel.de>

Modified Files
--------------
src/backend/commands/event_trigger.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)



view thread (3+ messages)

Message-ID: <E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org>
Permalink:  ../E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Work around broken TimescaleDB code
  In-Reply-To: <E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org>
  References: <E1xQQG5-000000003r8-1Oih@gemulon.postgresql.org>

* 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