Thread: PGTYPESinterval_free should be instead PGTYPESinterval_new in example.

PGTYPESinterval_free should be instead PGTYPESinterval_new in example.

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/ecpg-pgtypes.html
Description:

Hello! In example of usage PGTYPESinterval_free used PGTYPESinterval_new.
Should be PGTYPESinterval_free.

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