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,