Fix incorrect PG_GETARG in pgcrypto

shihao zhong <zhong950419@gmail.com>

From: shihao zhong <zhong950419@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2024-02-13T04:30:40Z
Lists: pgsql-hackers

Attachments

Hi hackers,

I'd like to bring to your attention that I recently identified some
functions in pgcrypto that are using PG_GETARG functions in a way that
doesn't match the expected function signature of the stored
procedures. This patch proposes a solution to address these
inconsistencies and ensure proper alignment.

Thanks,
Shihao

Commits

  1. pgcrypto: Fix incorrect argument vs PG_GETARG*() mappings