missing something obvious about intervals?

From: David Rysdam <drysdam(at)ll(dot)mit(dot)edu>
To: "pg >> Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: missing something obvious about intervals?
Date: 2005-12-12 18:00:13
Message-ID: 439DBAAD.3080803@ll.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I have a table that has a date field and a "real" field that represents
a number of seconds. I want select the date field + the seconds field.
Just adding it doesn't work. Casting to interval doesn't work.
to_date/to_timestamp don't work. How do I do this?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Buttafuoco 2005-12-12 18:04:05 Re: missing something obvious about intervals?
Previous Message Rich Doughty 2005-12-12 17:32:47 Re: View with an outer join - is there any way to optimise

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Buttafuoco 2005-12-12 18:04:05 Re: missing something obvious about intervals?
Previous Message Tom Lane 2005-12-12 17:51:47 Re: pg_relation_size locking