Fix the synopsis of pg_md5_hash

From: Tatsuro Yamada <tatsuro(dot)yamada(at)ntt(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix the synopsis of pg_md5_hash
Date: 2024-03-14 06:02:04
Message-ID: TYYPR01MB82313576150CC86084A122CD9E292@TYYPR01MB8231.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The synopsis of pg_md5_hash() seems wrong such as:
- s/int/bool/
- "errstr" is missing
So, I created a patch to fix them.

src/common/md5_common.c
==================================================
* SYNOPSIS #include "md5.h"
* int pg_md5_hash(const void *buff, size_t len, char *hexsum)
...
bool
pg_md5_hash(const void *buff, size_t len, char *hexsum, const char **errstr)
==================================================

Please find attached file.

Regards,
Tatsuro Yamada
NTT Open Source Software Center

Attachment Content-Type Size
fix_synopsis_of_pg_md5_hash.patch application/octet-stream 582 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-03-14 06:27:40 Re: Put genbki.pl output into src/include/catalog/ directly
Previous Message Amit Kapila 2024-03-14 05:53:38 Re: Typos in reorderbuffer.c.