Add a new GUC variable called "IntervalStyle" that decouples interval output

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

Commit: df7641e25ab4da6f3a48222cbda0e121ccb32ad5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-11-09T00:28:35Z
Releases: 8.4.0
Add a new GUC variable called "IntervalStyle" that decouples interval output
from DateStyle, and create a new interval style that produces output matching
the SQL standard (at least for interval values that fall within the standard's
restrictions).  IntervalStyle is also used to resolve the conflict between the
standard and traditional Postgres rules for interpreting negative interval
input.

Ron Mayer

Files