PGTYPESinterval_free should be instead PGTYPESinterval_new in example.

Started by PG Bug reporting formalmost 6 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: PGTYPESinterval_free should be instead PGTYPESinterval_new in example.

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