aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-03-02 21:40:11 -0800
committerPeter Geoghegan <pg@bowt.ie>2020-03-02 21:40:11 -0800
commit1e07f5e0a1cf56f8cbc121dbb86c128a0f711c94 (patch)
tree83fce88e21bd0cb1d55d212a6bce7895c5e9cb80 /src/backend/utils/adt/jsonpath_exec.c
parent0b48f1335dddb7141160e392cccac98edfb3fa85 (diff)
downloadpostgresql-1e07f5e0a1cf56f8cbc121dbb86c128a0f711c94.tar.gz
postgresql-1e07f5e0a1cf56f8cbc121dbb86c128a0f711c94.zip
Remove overzealous _bt_split() assertions.
_bt_split() is passed NULL as its insertion scankey for internal page splits. Two recently added Assert() statements failed to consider this, leading to a crash with pg_upgrade'd BREE_VERSION < 4 indexes. Remove the assertions. The assertions in question were added by commit 0d861bbb, which added nbtree deduplication. It would be possible to fix the assertions directly instead, but they weren't adding much anyway.
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions