git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 46d4828) | patch
Fix default minimum value for descending sequences
2017年1月23日 19:00:58 +0000 (14:00 -0500)
2017年1月23日 19:00:58 +0000 (14:00 -0500)
commit 0bc1207aeb3de951bf95a9e9899b1256216d65f5
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>
doc/src/sgml/ref/create_sequence.sgml diff | blob | blame | history
src/backend/commands/sequence.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/include/pg_config_manual.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /