BUG #6384: pg_types_date.h does not exist

Started by KOIZUMI Satoruover 14 years ago3 messagesbugs
Jump to latest
#1KOIZUMI Satoru
koizumistr@minos.ocn.ne.jp

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"

#2Michael Beattie
mtbeedee@gmail.com
In reply to: KOIZUMI Satoru (#1)
Re: BUG #6384: pg_types_date.h does not exist

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
#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: KOIZUMI Satoru (#1)
Re: BUG #6384: pg_types_date.h does not exist

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