summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-11-15 11:53:37 -0800
committerPeter Geoghegan <pg@bowt.ie>2020-11-15 11:53:37 -0800
commit46cf3c72c36fef8c623b4b97d8720321d8ad7507 (patch)
tree51b87d938137f9345d5ab151986abee27effe2be /src/backend/access/gist/gistproc.c
parentff94205787244ace8ce63e3d9eb98338c59ac215 (diff)
downloadpostgresql-46cf3c72c36fef8c623b4b97d8720321d8ad7507.tar.gz
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.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions