Fix interval input parser so that fractional weeks and months are

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 57bfb27e60055c10e42b87e68a894720c2f78e70
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-09-04T01:26:28Z
Releases: 8.2.0
Fix interval input parser so that fractional weeks and months are
cascaded first to days and only what is leftover into seconds.  This
seems to satisfy the principle of least surprise given the general
conversion to three-part interval values --- it was an oversight that
these cases weren't dealt with in 8.1.  Michael Glaesemann

Files