postgresql_16:5.3.6.1 Character Strings
PostgreSQL 16 > Client Interfaces > ECPG — Embedded SQL in C > pgtypes Library > Character Strings
Some functions such as PGTYPESnumeric_to_asc return a pointer to a freshly allocated character string. These results should be freed with PGTYPESchar_free instead of free. (This is important only on Windows, where memory allocation and release sometimes need to be done by the same library.)