Fix error handling of pg_b64_decode()

Peter Eisentraut <peter@eisentraut.org>

Commit: d278541be422f348b10c89c638942c25229c5e07
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-01-16T08:02:21Z
Releases: 18.0
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

Files

PathChange+/−
src/interfaces/libpq/fe-connect.c modified +26 −14

Discussion