pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix overly large values/nulls arrays
Date: Sun, 29 Dec 2024 10:58:05 +0000
Message-ID: <E1tRqzk-001wCe-L0@gemulon.postgresql.org> (raw)

Fix overly large values/nulls arrays

These arrays were sized with Natts_pg_trigger (19) when they should have
been sized with Natts_pg_event_trigger (7).  We'd better fix this as
it's clearly a mistake and it could become problematic if
pg_event_trigger were to gain a dozen or so more columns in the future.

No backpatch as there's no actual bug and the column count on those
tables isn't going to change in released versions.

Author: Xin Zhang <zhanghien@qq.com>
Discussion: https://postgr.es/m/tencent_05AD0FB321A414EC3661204D2102AA6EF605@qq.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb53ff5517e50018539747d75a02d493abc2d232

Modified Files
--------------
src/backend/commands/event_trigger.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1tRqzk-001wCe-L0@gemulon.postgresql.org>
Permalink:  ../E1tRqzk-001wCe-L0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tRqzk-001wCe-L0@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix overly large values/nulls arrays
  In-Reply-To: <E1tRqzk-001wCe-L0@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