pgsql: Fix error handling of pg_b64_decode()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error handling of pg_b64_decode()
Date: 2025-01-16 08:07:19
Message-ID: E1tYKuN-001t2B-N4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix error handling of pg_b64_decode()

Fix for commit 761c79508e7. The previous error handling logic was not
quite correct.

Discussion: https://www.postgresql.org/message-id/flat/CAEudQAq-3yHsSdWoOOaw%2BgAQYgPMpMGuB5pt2yCXgv-YuxG2Hg%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 40 +++++++++++++++++++++++++--------------
1 file changed, 26 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-01-16 12:32:40 pgsql: refactor: split ATExecAlterConstrRecurse()
Previous Message Peter Eisentraut 2025-01-16 07:40:18 pgsql: Check return of pg_b64_encode() for error