Thread: Typo in unicode_assigned() document PG17

Typo in unicode_assigned() document PG17

From
Hironobu SUZUKI
Date:
Hi,

The PG17 documentation for unicode_assigned() in doc/src/sgml/func.sgml 
incorrectly states that the function returns a 'text' value. It actually 
returns a boolean value.

unicode_assigned(): 

https://github.com/postgres/postgres/blob/ef6e028f05b3e4ab23c5edfdfff457e0d2a649f6/src/backend/utils/adt/varlena.c#L6302

Best regards,



Re: Typo in unicode_assigned() document PG17

From
Jeff Davis
Date:
On Thu, 2024-08-15 at 09:34 +0900, Hironobu SUZUKI wrote:
> Hi,
>
> The PG17 documentation for unicode_assigned() in
> doc/src/sgml/func.sgml
> incorrectly states that the function returns a 'text' value. It
> actually
> returns a boolean value.

Thank you for the report. Fixed and backported to version 17, where the
function was introduced.

Regards,
    Jeff Davis