Skip to content
Snippets Groups Projects
Commit 208d3a75 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Correct/improve the datetime_precision field in the information schema.

In particular, always show 0 for the date type instead of null, and show
6 (the default) for time, timestamp, and interval without a declared
precision.  This is now in fuller conformance with the SQL standard.

Also clarify the documentation about this.

discovered and analyzed by Konstantin Izmailov and Tom Lane
parent 5cca35a6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment