Re: How Many Years have Passed? - Mailing list pgsql-general

From Thomas Lockhart
Subject Re: How Many Years have Passed?
Date
Msg-id 3C238451.3C252866@fourpalms.org
Whole thread Raw
In response to How Many Years have Passed?  ("Ian Harding" <ianh@tpchd.org>)
List 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

pgsql-general by date:

Previous
From: "Gregory Wood"
Date:
Subject: Re: Can't use subselect in check constraint
Next
From: Tom Lane
Date:
Subject: Re: Is the Windows Version Stable?