Re: Messy Casts, Is there a better way?

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Larry Rosenman <ler(at)lerctr(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Messy Casts, Is there a better way?
Date: 2002-10-17 22:50:47
Message-ID: web-1790482@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Larry Rosenman 2002-10-18 00:13:47 Re: Messy Casts, Is there a better way?
Previous Message Brian 2002-10-17 21:41:22 Re: functions that return a dataset or set of rows