Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group