Re: Timestamp data type problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ohp(at)pyrenet(dot)fr
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Timestamp data type problems
Date: 2000-05-29 21:12:20
Message-ID: 7524.959634740@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Olivier PRENANT <ohp(at)pyrenet(dot)fr> writes:
> I made a patch against 7.0. Do you need it?
> Actually it's quite simple and only ocurs and datetime.c.
> afterline 2156, I added : *(str + 28 + MAXSTZLEN) = '\0';
> and after line 2166, I added : *(str + 25 + MAXTZLEN) = '\0';
> It works for me !!

I used StrNCpy instead, but thanks for confirming that that fixes it
for you.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-05-29 22:01:11 Re: Header File cleanup.
Previous Message Antony Sakellariou 2000-05-29 21:00:54 Cursors