aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-09-10 13:19:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-09-10 13:19:11 -0400
commitf80e782a6b4dcdea78f053f1505fff316f3a3289 (patch)
tree304f778d044172dcfdbd535e8015262399be5583 /src/backend/utils/adt/jsonfuncs.c
parentc824c7e29fe752110346fc821ad6d01357aa12f8 (diff)
downloadpostgresql-f80e782a6b4dcdea78f053f1505fff316f3a3289.tar.gz
postgresql-f80e782a6b4dcdea78f053f1505fff316f3a3289.zip
Remove pre-order and post-order traversal logic for red-black trees.
This code isn't used, and there's no clear reason why anybody would ever want to use it. These traversal mechanisms don't yield a visitation order that is semantically meaningful for any external purpose, nor are they any faster or simpler than the left-to-right or right-to-left traversals. (In fact, some rough testing suggests they are slower :-(.) Moreover, these mechanisms are impossible to test in any arm's-length fashion; doing so requires knowledge of the red-black tree's internal implementation. Hence, let's just jettison them. Discussion: https://postgr.es/m/17735.1505003111@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions