Re: timestamp/date in ecpg

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Cc: meskes(at)postgresql(dot)org
Subject: Re: timestamp/date in ecpg
Date: 2003-03-21 15:33:09
Message-ID: 3E7B30B5.6A058C@rodos.fzk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2003-03-21 15:38:59 Re: ALTER TABLE / CLUSTER ON
Previous Message Bruce Momjian 2003-03-21 15:32:46 Re: [BUGS] Bug #904: Deallocating of prepared statement