interval: tighten precision specification

Bruce Momjian <bruce@momjian.us>

Commit: 417f92484da8c9a124e7eece8dbfb71f688a0104
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-10-18T14:31:00Z
Releases: 9.5.0
interval:  tighten precision specification

interval precision can only be specified after the "interval" keyword if
no units are specified.

Previously we incorrectly checked the units to see if the precision was
legal, causing confusion.

Report by Alvaro Herrera

Files