Tom Lane wrote:
Well, the question is whether justify_days has a sane definition that is different from this. Based on your example, I'm not seeing one.
Backwards compatibility is probably more important than sanity. Let's just deprecate the existing functions and recommend that people use justify_interval(...). By not changing the existing functions we can avoid a certain amount of hell.
mark ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend