From 0527a454ec1801358a1f6d873ae48dcc89a217cf Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 13 Jul 2011 20:30:40 +0300 Subject: Implement information schema interval_type columns Also correct reporting of interval precision when field restrictions are specified in the typmod. --- doc/src/sgml/information_schema.sgml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 85044761d0c..063d8fabbb4 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -483,7 +483,15 @@ interval_type character_data - Not yet implemented + + If data_type identifies an interval type, + this column contains the specification which fields the + intervals include for this attribute, e.g., YEAR TO + MONTH, DAY TO SECOND, etc. If no + field restrictions were specified (that is, the interval + accepts all fields), and for all other data types, this field + is null. + @@ -1343,7 +1351,15 @@ interval_type character_data - Not yet implemented + + If data_type identifies an interval type, + this column contains the specification which fields the + intervals include for this column, e.g., YEAR TO + MONTH, DAY TO SECOND, etc. If no + field restrictions were specified (that is, the interval + accepts all fields), and for all other data types, this field + is null. + @@ -2144,7 +2160,15 @@ interval_type character_data - Not yet implemented + + If data_type identifies an interval type, + this column contains the specification which fields the + intervals include for this domain, e.g., YEAR TO + MONTH, DAY TO SECOND, etc. If no + field restrictions were specified (that is, the interval + accepts all fields), and for all other data types, this field + is null. + -- cgit v1.2.3