pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Don't truncate database and user names in startup packet
Date: Thu, 12 Dec 2024 21:53:42 +0000
Message-ID: <E1tLr7t-002PdP-OU@gemulon.postgresql.org> (raw)

Revert "Don't truncate database and user names in startup packets."

This reverts commit 562bee0fc13dc95710b8db6a48edad2f3d052f2e.

We received a report from the field about this change in behavior,
so it seems best to revert this commit and to add proper
multibyte-aware truncation as a follow-up exercise.

Fixes bug #18711.

Reported-by: Adam Rauch
Reviewed-by: Tom Lane, Bertrand Drouvot, Bruce Momjian, Thomas Munro
Discussion: https://postgr.es/m/18711-7503ee3e449d2c47%40postgresql.org
Backpatch-through: 17

Branch
------
REL_17_STABLE

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

Modified Files
--------------
src/backend/tcop/backend_startup.c | 9 +++++++++
1 file changed, 9 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1tLr7t-002PdP-OU@gemulon.postgresql.org>
Permalink:  ../E1tLr7t-002PdP-OU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tLr7t-002PdP-OU@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: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Revert "Don't truncate database and user names in startup packet
  In-Reply-To: <E1tLr7t-002PdP-OU@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