Thread: BUG #6384: pg_types_date.h does not exist

BUG #6384: pg_types_date.h does not exist

From
koizumistr@minos.ocn.ne.jp
Date:
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:=20=20=20=20=20=20=20=20

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"

Re: BUG #6384: pg_types_date.h does not exist

From
Michael Beattie
Date:
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?




Attachment

Re: BUG #6384: pg_types_date.h does not exist

From
Tom Lane
Date:
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