Re: How Many Years have Passed?

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Ian Harding <ianh(at)tpchd(dot)org>
Cc: thomas(at)pgsql(dot)com, greg(at)turnstep(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: How Many Years have Passed?
Date: 2001-12-21 18:49:53
Message-ID: 3C238451.3C252866@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Are dates usually implicitly cast to timestamp in functions?

"Usually"? Probably not. "If necessary"? Yes. Not sure of the ratio of
direct calls to conversions over the total set of functions and
operators, but if the result is not likely to change with a conversion
step then I feel less of a need to implement Yet Another Function to do
the direct call.

Glad the function (documented in the, uh, documentation ;) worked for
you.

- Thomas

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-12-21 19:03:04 Re: Is the Windows Version Stable?
Previous Message Gregory Wood 2001-12-21 18:48:03 Re: Database tuning