From: Shawn <postgres@xmtservices.net>
To: pgsql-sql@postgresql.org
Subject: Question 2 Interval and timestamptz
Date: Wed, 26 Mar 2008 16:05:56 +0000
Message-ID: <200803261605.56116.postgres@xmtservices.net> (raw)
Hello!
The second part of my question is:
Given a value as an interval, see previous posting, is there a simply method
to take a given timestamptz value and a given interval value and create the
sum or difference of the 2 in timestamptz format?
The scenario is that the afore mentioned tables, see previous post, in
addition to the duration varchar field, also have a field called event_at_utc
which is a timestamptz type. I need to calculate the end time of the event
given the interval calculated from the duration (varchar) field.
Any all all help is greatly appreciated.
Shawn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgres@xmtservices.net
Subject: Re: Question 2 Interval and timestamptz
In-Reply-To: <200803261605.56116.postgres@xmtservices.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox