diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-07 13:11:30 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-07 13:12:31 -0400 |
commit | f338dd7585cab45da9053e883ad65a440a99d3be (patch) | |
tree | ecb1d88402279fd7275af7bafa7ad2c2035af68b /src/backend/utils/adt/tsquery_cleanup.c | |
parent | a7ace3b6d96c7a1539ed0700865d320258a12f73 (diff) | |
download | postgresql-f338dd7585cab45da9053e883ad65a440a99d3be.tar.gz postgresql-f338dd7585cab45da9053e883ad65a440a99d3be.zip |
Refactor join_is_removable() to separate out distinctness-proving logic.
Extracted from pending unique-join patch, since this is a rather large
delta but it's simply moving code out into separately-accessible
subroutines.
I (tgl) did choose to add a bit more logic to rel_supports_distinctness,
so that it verifies that there's at least one potentially usable unique
index rather than just checking indexlist != NIL. Otherwise there's
no functional change here.
David Rowley
Diffstat (limited to 'src/backend/utils/adt/tsquery_cleanup.c')
0 files changed, 0 insertions, 0 deletions