-
- Downloads
Fix default minimum value for descending sequences
For some reason that is lost in history, a descending sequence would default its minimum value to -2^63+1 (-PG_INT64_MAX) instead of -2^63 (PG_INT64_MIN), even though explicitly specifying a minimum value of -2^63 would work. Fix this inconsistency by using the full range by default. Reported-by:Daniel Verite <daniel@manitou-mail.org> Reviewed-by:
Michael Paquier <michael.paquier@gmail.com>
Showing
- doc/src/sgml/ref/create_sequence.sgml 1 addition, 1 deletiondoc/src/sgml/ref/create_sequence.sgml
- src/backend/commands/sequence.c 2 additions, 2 deletionssrc/backend/commands/sequence.c
- src/bin/pg_dump/pg_dump.c 2 additions, 2 deletionssrc/bin/pg_dump/pg_dump.c
- src/include/pg_config_manual.h 0 additions, 6 deletionssrc/include/pg_config_manual.h
Loading
Please register or sign in to comment