Re: Better HINT message for "unexpected data beyond EOF"

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, Andres Freund <andres@anarazel.de>, Christoph Berg <myon@debian.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-29T13:16:26Z
Lists: pgsql-hackers
On Mon, Jul 28, 2025 at 2:42 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
> On Mon, Jul 28, 2025 at 11:22:49AM -0400, Robert Haas wrote:
> > Committed. I removed the changes from the .po files since we don't
> > routinely update those, and I rewrote your proposal commit message.
>
> nitpick: It looks like this needs a pgindent [0].
>
> [0] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=koel&dt=2025-07-28%2016%3A19%3A01

Oops. Fixed, I hope.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Remove misleading hint for "unexpected data beyond EOF" error.

  2. md: Add comment & assert to buffer-zeroing path in md[start]readv()