mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Implement information schema interval_type columns
Also correct reporting of interval precision when field restrictions are specified in the typmod.
This commit is contained in:
@ -483,7 +483,15 @@
|
||||
<row>
|
||||
<entry><literal>interval_type</literal></entry>
|
||||
<entry><type>character_data</type></entry>
|
||||
<entry>Not yet implemented</entry>
|
||||
<entry>
|
||||
If <literal>data_type</literal> identifies an interval type,
|
||||
this column contains the specification which fields the
|
||||
intervals include for this attribute, e.g., <literal>YEAR TO
|
||||
MONTH</literal>, <literal>DAY TO SECOND</literal>, etc. If no
|
||||
field restrictions were specified (that is, the interval
|
||||
accepts all fields), and for all other data types, this field
|
||||
is null.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
@ -1343,7 +1351,15 @@
|
||||
<row>
|
||||
<entry><literal>interval_type</literal></entry>
|
||||
<entry><type>character_data</type></entry>
|
||||
<entry>Not yet implemented</entry>
|
||||
<entry>
|
||||
If <literal>data_type</literal> identifies an interval type,
|
||||
this column contains the specification which fields the
|
||||
intervals include for this column, e.g., <literal>YEAR TO
|
||||
MONTH</literal>, <literal>DAY TO SECOND</literal>, etc. If no
|
||||
field restrictions were specified (that is, the interval
|
||||
accepts all fields), and for all other data types, this field
|
||||
is null.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
@ -2144,7 +2160,15 @@
|
||||
<row>
|
||||
<entry><literal>interval_type</literal></entry>
|
||||
<entry><type>character_data</type></entry>
|
||||
<entry>Not yet implemented</entry>
|
||||
<entry>
|
||||
If <literal>data_type</literal> identifies an interval type,
|
||||
this column contains the specification which fields the
|
||||
intervals include for this domain, e.g., <literal>YEAR TO
|
||||
MONTH</literal>, <literal>DAY TO SECOND</literal>, etc. If no
|
||||
field restrictions were specified (that is, the interval
|
||||
accepts all fields), and for all other data types, this field
|
||||
is null.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
|
Reference in New Issue
Block a user