Re: Entering time into postgresql - Mailing list pgsql-general

From David Wilson
Subject Re: Entering time into postgresql
Date
Msg-id e7f9235d0906080923v2ab785fdqa0079be62080a5b5@mail.gmail.com
Whole thread Raw
In response to Entering time into postgresql  (BlackMage <dsd7872@uncw.edu>)
List pgsql-general
On Mon, Jun 8, 2009 at 11:04 AM, BlackMage <dsd7872@uncw.edu> wrote:

> Is there a field that can actually store time in PostgreSql. And what I mean
> by time is not like time of the day, but a specific amount of time.

The manual is your friend:
http://www.postgresql.org/docs/8.3/static/datatype-datetime.html

The interval data type is what you're looking for.

--
- David T. Wilson
david.t.wilson@gmail.com

pgsql-general by date:

Previous
From: "Anirban Pal"
Date:
Subject: Re: Why lots of temp schemas are being created
Next
From: Vick Khera
Date:
Subject: Re: Entering time into postgresql