pgsql: Fix incorrect assertion in libpqwalreceiver

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect assertion in libpqwalreceiver
Date: 2025-03-09 18:43:39
Message-ID: E1trLch-001cxe-1T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect assertion in libpqwalreceiver

Was supposed to check the length of the array, but was checking its
size in bytes.

Author: Jacob Brazeal <jacob(dot)brazeal(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CA%2BCOZaA_9afJxj9ZuO73U5P7WXP%2BZM9NGnZvTDCmBFz0FGP%2BwA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/03f8e9a7fee0ad4d87bfe48cb22dbca08fd8e6c4

Modified Files
--------------
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2025-03-09 21:53:00 Re: pgsql: reindexdb: Add the index-level REINDEX with multiple jobs
Previous Message Heikki Linnakangas 2025-03-09 18:19:18 pgsql: Fix test name and username used in failed connection attempts