pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Larry Rosenman <ler@lerctr.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Messy Casts, Is there a better way?
Date: Thu, 17 Oct 2002 15:50:47 -0700
Message-ID: <web-1790482@davinci.ethosmedia.com> (raw)
In-Reply-To: <1034886179.398.17.camel@lerlaptop.iadfw.net>

Larry,

> If I do that, and enter '72 months' in the contract_term field, how
> can
> I convince PostgreSQL to output the interval back in months?  It
> wants
> to give me '5 Years'.  

That's on the TODO list, I'm afraid.  From the sound of it, you should
stick with your current schema and custom function.

-Josh Berkus



view thread (6+ messages)  latest in thread

Message-ID: <web-1790482@davinci.ethosmedia.com>
Permalink:  ../web-1790482@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1790482@davinci.ethosmedia.com

 · 

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: josh@agliodbs.com, ler@lerctr.org, peter_e@gmx.net
  Subject: Re: Messy Casts, Is there a better way?
  In-Reply-To: <web-1790482@davinci.ethosmedia.com>

* 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