pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Terziev <vlady@school.digsys.bg>
To: The Hermit Hacker <scrappy@hub.org>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] adding time to a datetime field ... how?
Date: Wed, 15 Dec 1999 18:21:11 +0200 (EET)
Message-ID: <Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg> (raw)
In-Reply-To: <Pine.BSF.4.21.9912150928390.8120-100000@thelab.hub.org>


   Try

   select start_time, 
          abstime_datetime(start_time::abstime + acctsessiontime)
 	  from log;


   Regards!

	Vladimir




view thread (5+ messages)  latest in thread

Message-ID: <Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg>
Permalink:  ../Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg/
Also on:    postgresql.org/message-id/Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: vlady@school.digsys.bg, scrappy@hub.org
  Subject: Re: [SQL] adding time to a datetime field ... how?
  In-Reply-To: <Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg>
  References: <Pine.BSF.4.21.9912150928390.8120-100000@thelab.hub.org> <Pine.BSI.4.20.9912151817320.2203-100000@school.digsys.bg>

* 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