diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 68833ca20bf..dedd886f65e 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1043,7 +1043,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 .