Thread: Help!

Help!

From
"Mihai Gheorghiu"
Date:
I migrated to 7.2.2 with only speed issues in view.
When trying to run the actual application, I discovered the changes in the
time functions area (timestamp with precision and current).
Is there a way to set that p precision parameter of timestamp once and for
all, so that timestamp returns in the old format (no decimals after second)
and the application developer does not have to make changes to at least 250
java files?
Thanks everybody for your support.


Re: Help!

From
Thomas O'Dowd
Date:
Are you using the Java driver to read the timestamp? If so there should
be no change required if you are using ResultSet.getTimestamp() method.

Tom.

On Tue, 2002-09-17 at 23:26, Mihai Gheorghiu wrote:
> I migrated to 7.2.2 with only speed issues in view.
> When trying to run the actual application, I discovered the changes in the
> time functions area (timestamp with precision and current).
> Is there a way to set that p precision parameter of timestamp once and for
> all, so that timestamp returns in the old format (no decimals after second)
> and the application developer does not have to make changes to at least 250
> java files?
> Thanks everybody for your support.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Thomas O'Dowd. - Nooping - http://nooper.com
tom@nooper.com - Testing - http://nooper.co.jp/labs


Re: Help!

From
"Mihai Gheorghiu"
Date:
Yeah, mea culpa :-(
It seems all came back to normal when I installed the most recent driver.
The one on the development computer was still for 7.1.3
Thank you all.

-----Original Message-----
From: Thomas O'Dowd <tom@nooper.com>
To: Mihai Gheorghiu <tanethq@earthlink.net>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Date: Tuesday, September 17, 2002 10:04 PM
Subject: Re: [GENERAL] Help!


>Are you using the Java driver to read the timestamp? If so there should
>be no change required if you are using ResultSet.getTimestamp() method.
>
>Tom.
>
>On Tue, 2002-09-17 at 23:26, Mihai Gheorghiu wrote:
>> I migrated to 7.2.2 with only speed issues in view.
>> When trying to run the actual application, I discovered the changes in
the
>> time functions area (timestamp with precision and current).
>> Is there a way to set that p precision parameter of timestamp once and
for
>> all, so that timestamp returns in the old format (no decimals after
second)
>> and the application developer does not have to make changes to at least
250
>> java files?
>> Thanks everybody for your support.
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 4: Don't 'kill -9' the postmaster
>--
>Thomas O'Dowd. - Nooping - http://nooper.com
>tom@nooper.com - Testing - http://nooper.co.jp/labs
>