pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6384: pg_types_date.h does not exist
3+ messages / 3 participants
[nested] [flat]
* BUG #6384: pg_types_date.h does not exist
@ 2012-01-06 14:58 koizumistr@minos.ocn.ne.jp
0 siblings, 2 replies; 3+ messages in thread
From: koizumistr@minos.ocn.ne.jp @ 2012-01-06 14:58 UTC (permalink / raw)
To: pgsql-bugs
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"
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #6384: pg_types_date.h does not exist
@ 2012-01-06 15:08 Michael Beattie <mtbeedee@gmail.com>
parent: koizumistr@minos.ocn.ne.jp
1 sibling, 0 replies; 3+ messages in thread
From: Michael Beattie @ 2012-01-06 15:08 UTC (permalink / raw)
To: koizumistr@minos.ocn.ne.jp; +Cc: pgsql-bugs
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.patch (text/x-patch, 724B) download
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">.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #6384: pg_types_date.h does not exist
@ 2012-01-06 18:32 Tom Lane <tgl@sss.pgh.pa.us>
parent: koizumistr@minos.ocn.ne.jp
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2012-01-06 18:32 UTC (permalink / raw)
To: koizumistr@minos.ocn.ne.jp; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2012-01-06 18:32 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-01-06 14:58 BUG #6384: pg_types_date.h does not exist koizumistr@minos.ocn.ne.jp
2012-01-06 15:08 ` Michael Beattie <mtbeedee@gmail.com>
2012-01-06 18:32 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox