Re: Messy Casts, Is there a better way? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Messy Casts, Is there a better way?
Date
Msg-id web-1790482@davinci.ethosmedia.com
Whole thread Raw
In response to Re: Messy Casts, Is there a better way?  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Messy Casts, Is there a better way?
List 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


pgsql-sql by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: Messy Casts, Is there a better way?
Next
From: Larry Rosenman
Date:
Subject: Re: Messy Casts, Is there a better way?