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_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5968dfa6733081e126d094f3e878eafca0e8a8c2 Author: Andres Freund <[email protected]> Modified Files -------------- src/backend/commands/event_trigger.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
