Adjust min/max values when changing sequence type

Peter Eisentraut <peter_e@gmx.net>

Commit: 60a0b2ec8943451186dfa22907f88334d97cb2e0
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-04-04T16:49:39Z
Releases: 10.0
Adjust min/max values when changing sequence type

When changing the type of a sequence, adjust the min/max values of the
sequence if it looks like the previous values were the default values.
Previously, it would leave the old values in place, requiring manual
adjustments even in the usual/default cases.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Reviewed-by: Vitaly Burovoy <vitaly.burovoy@gmail.com>

Files

Documentation touched