Thomas Munro <thomas.munro@enterprisedb.com> writes:
> /usr/local/include/pgtypes_date.h:24:12: note: previous declaration is here
> extern int PGTYPESdate_defmt_asc(date *, const char *, char *);
>
> BTW it looks like 0e1539ba0d0a added const qualifiers to that function
> but didn't update the documentation in doc/src/sgml/ecpg.sgml.
Good catch, please send a patch.
regards, tom lane