PG Doc comments form <noreply@postgresql.org> writes:
> Page: https://www.postgresql.org/docs/12/ecpg-pgtypes.html
> Hello! In example of usage PGTYPESinterval_free used PGTYPESinterval_new.
> Should be PGTYPESinterval_free.
You're right ... I bet that's been wrong for a really long time.
Thanks for the report!
regards, tom lane