BUG #6384: pg_types_date.h does not exist
The following bug has been logged on the website:
Bug reference: 6384
Logged by: KOIZUMI Satoru
Email address: koizumistr@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"
On Fri, Jan 6, 2012 at 9:58 AM, <koizumistr@minos.ocn.ne.jp> wrote:
The following bug has been logged on the website:
Bug reference: 6384
Logged by: KOIZUMI Satoru
Email address: koizumistr@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?
Attachments:
ecpg.patchtext/x-patch; charset=UTF-8; name=ecpg.patchDownload+1-1
koizumistr@minos.ocn.ne.jp writes:
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"
Fixed, thanks for the report!
regards, tom lane