[OT] Duration between two timestamps - Mailing list pgsql-general

From phil campaigne
Subject [OT] Duration between two timestamps
Date
Msg-id 421BF064.5050108@charter.net
Whole thread Raw
Responses Re: [OT] Duration between two timestamps  (Chris Smith <chris@interspire.com>)
List pgsql-general
Hi All,
In my java application I need to subtract two java.sql.timestamps. and I
want to store the result as sql type "interval".
But my insert statement is failing.

Does anyone know what java  type I need to use in the insert statement?
(it must accept null values)
thanks in advance,
Phil


pgsql-general by date:

Previous
From: mailinglists@net-virtual.com
Date:
Subject: Re: Triggers, again.. ;-)
Next
From: Chris Smith
Date:
Subject: Re: [OT] Duration between two timestamps