From: | books at ejurka(dot)com (Kris Jurka) |
---|---|
To: | |
Subject: | [Pljava-dev] R: select CURRENT_TIMESTAMP is wrong |
Date: | 2008-02-01 05:09:25 |
Message-ID: | Pine.BSO.4.64.0802010007390.26244@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
On Fri, 25 Jan 2008, Kris Jurka wrote:
> On Fri, 25 Jan 2008, Lucas Madar wrote:
>
>> I didn't post this to the list by mistake, but I found a solution. It appears
>> that some precision is being lost with certain compilers. The culprit is
>> this:
>> mSecs += EPOCH_DIFF * 1000; /* Adjust for diff
>> between Postgres and Java (Unix) */
>>
This is not compiler dependent, it just depends on whether this code is
used or not. This function is only used when running against a server
built with integer datetimes.
Fixed in CVS.
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2008-02-01 07:27:26 | [Pljava-dev] ResultSetHandle and TupleDesc reference leak? |
Previous Message | asim naseem | 2008-01-29 21:39:42 | [Pljava-dev] org.postgresql.util.PSQLException: ERROR: could not load library "/usr/local/pgsql/data1/pljava.so": libjvm.so: cannot open shared object file: No such file or directory |