pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karel Zak <zakkr@zf.jcu.cz>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: to_date/to timestamp going to BC
Date: Thu, 4 Oct 2001 16:56:06 +0200
Message-ID: <20011004165606.D22302@zf.jcu.cz> (raw)
In-Reply-To: <web-141633@davinci.ethosmedia.com>
References: <20011004104149.B9858@zf.jcu.cz>
	<web-141633@davinci.ethosmedia.com>

On Thu, Oct 04, 2001 at 07:44:14AM -0700, Josh Berkus wrote:
> Karel,
> 
> > .. well, I add it to my TODO for 7.3 (I plan rewrite several things 
> > in to_* functions).
> 
> How about a to_char function for INTERVAL?  Please, oh please?

 oh, needn't please.. already in right now breeding 7.2 :-)

test=# SELECT to_char('5months 3sec 4h 1min'::interval, 'HH:MI:SS Mon');
   to_char
--------------
 04:01:03 May
(1 row)

	Karel

-- 
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz



view thread (7+ messages)  latest in thread

Message-ID: <20011004165606.D22302@zf.jcu.cz>
Permalink:  ../20011004165606.D22302@zf.jcu.cz/
Also on:    postgresql.org/message-id/20011004165606.D22302@zf.jcu.cz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zakkr@zf.jcu.cz, josh@agliodbs.com
  Subject: Re: to_date/to timestamp going to BC
  In-Reply-To: <20011004165606.D22302@zf.jcu.cz>

* 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