Re: timestamp/date in ecpg - Mailing list pgsql-hackers

From Christoph Haller
Subject Re: timestamp/date in ecpg
Date
Msg-id 3E7B30B5.6A058C@rodos.fzk.de
Whole thread Raw
In response to timestamp/date in ecpg  (Michael Meskes <meskes@postgresql.org>)
Responses Re: timestamp/date in ecpg  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
>
> Hmm, maybe the transformation in the other direction is the culprit.
> What I do is call ts1 = PGTYPEStimestamp_atot("2000-7-12 17:34:29",
NULL); followed by a text = PGTYPEStimestamp_ttoa
(ts1); Needless to say the resulting text is not "2000-7-12 17:34:29".
:-(
>
I could not dig too deep into the code until now,
but isn't there a leading zero missing
2000-07-12 17:34:29

Regards, Christoph




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Nested transactions: low level stuff
Next
From: Alvaro Herrera
Date:
Subject: Re: ALTER TABLE / CLUSTER ON