| From: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
|---|---|
| To: | Vikram Kulkarni <vkulkarn(at)brownforces(dot)org> |
| Cc: | Vikram Kulkarni <vkulkarn(at)brownforces(dot)org>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: 7.4.2 Regression tests: test stats loops indefinately... |
| Date: | 2004-05-04 08:36:20 |
| Message-ID: | c9ke9015ilkb530p9tj5tte2c4fu1fe51o@email.aon.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Mon, 3 May 2004 20:47:31 -0400, Vikram Kulkarni
<vkulkarn(at)brownforces(dot)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 | Content-Type | Size |
|---|---|---|
| timeofday.c | text/plain | 870 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bastian | 2004-05-04 08:50:38 | Verhindern, dass im Mehrbenutzerbetrieb mit veralteten Daten gearbteitet wird |
| Previous Message | Karel Zak | 2004-05-04 07:21:07 | Re: C Functions, datatypes |