diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 97fbf99c45d..fca5979261b 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1038,7 +1038,7 @@ ts = 2010-06-27 18:03:56.949343 In addition, the DATE type can be handled in the same way. The - program has to include pg_types_date.h, declare a host variable + program has to include pgtypes_date.h, declare a host variable as the date type and convert a DATE value into a text form using PGTYPESdate_to_asc() function. For more details about the pgtypes library functions, see .