On Fri, Jan 6, 2012 at 9:58 AM, <koizumi...@minos.ocn.ne.jp> wrote:
> The following bug has been logged on the website: > > Bug reference: 6384 > Logged by: KOIZUMI Satoru > Email address: koizumi...@minos.ocn.ne.jp > PostgreSQL version: 9.1.2 > Operating system: Mac OS X > Description: > > The sentence "The program has to include pg_types_date.h, declare a host > variable as the date type and convert a DATE value into a text form using > PGTYPESdate_to_asc() function." is in "33.4.4.2.1. timestamp, date". > But "pg_types_date.h" does not exist. It should be "pgtypes_date.h" > > > patch attached... is this ok?
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 68833ca..dedd886 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 <para> In addition, the DATE type can be handled in the same way. The - program has to include <filename>pg_types_date.h</filename>, declare a host variable + program has to include <filename>pgtypes_date.h</filename>, declare a host variable as the date type and convert a DATE value into a text form using <function>PGTYPESdate_to_asc()</function> function. For more details about the pgtypes library functions, see <xref linkend="ecpg-pgtypes">.
-- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs