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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ff94205) | patch
nbtree: Demote incomplete split "can't happen" error.
2020年11月15日 19:53:37 +0000 (11:53 -0800)
2020年11月15日 19:53:37 +0000 (11:53 -0800)
commit 46cf3c72c36fef8c623b4b97d8720321d8ad7507
nbtree: Demote incomplete split "can't happen" error.

Only a basic logic bug in a _bt_insertonpg() caller could lead to a
violation of this invariant (index corruption won't do it). A "can't
happen" error seems inappropriate (it is arbitrary at best).

Demote the error to a simple assertion. This matches similar nearby
sanity checks.
src/backend/access/nbtree/nbtinsert.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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