Re: 7.4.2 Regression tests: test stats loops indefinately... - Mailing list pgsql-general

From Manfred Koizar
Subject Re: 7.4.2 Regression tests: test stats loops indefinately...
Date
Msg-id c9ke9015ilkb530p9tj5tte2c4fu1fe51o@email.aon.at
Whole thread Raw
In response to Re: 7.4.2 Regression tests: test stats loops indefinately...  (Vikram Kulkarni <vkulkarn@brownforces.org>)
Responses Re: 7.4.2 Regression tests: test stats loops indefinately...
List pgsql-general
On Mon, 3 May 2004 20:47:31 -0400, Vikram Kulkarni
<vkulkarn@brownforces.org> wrote:
>test=# SELECT timeofday();
>              timeofday
>-------------------------------------
> Wed Dec 31 16:00:00.591964 1969 PST
>(1 row)
>[...]
>That obviously doesn't look right. Isnt' timeofday() supposed to return
>the current time of day? The system clock is set correctly.

Vik, I guess that on your platform time_t is smaller than long.  Please
compile and run the attached C program.

Servus
 Manfred

Attachment

pgsql-general by date:

Previous
From: Karel Zak
Date:
Subject: Re: C Functions, datatypes
Next
From: Karsten Hilbert
Date:
Subject: interval output format available that removes ambiguity ?