diff options
author | Peter Eisentraut | 2025-01-17 07:06:24 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-01-17 07:21:32 +0000 |
commit | b0eff1098860f88dd385e6882ff7b1063d267213 (patch) | |
tree | 654aeddd14328d39f6c29496664bee86527e7d28 /src/backend/utils/misc/guc-file.l | |
parent | a6c70f68cdeb3bed591a2dd7d421bf3536ba5216 (diff) |
Add pg_nodiscard decorations to base64 functions
The result of pg_b64_encode() and pg_b64_decode() should be checked
for errors. This attribute could detect mistakes such as those fixed
in commit ff030ebe250 and d278541be42.
Reviewed-by: Michael Paquier <[email protected]>
Reviewed-by: Ranier Vilela <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/CAEudQAq-3yHsSdWoOOaw%2BgAQYgPMpMGuB5pt2yCXgv-YuxG2Hg%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/misc/guc-file.l')
0 files changed, 0 insertions, 0 deletions