git.postgresql.org Git - postgresql.git/commit
Thu, 7 Apr 2016 17:11:30 +0000 (13:11 -0400)
Thu, 7 Apr 2016 17:12:31 +0000 (13:12 -0400)
commit f338dd7585cab45da9053e883ad65a440a99d3be
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
This is the main PostgreSQL git repository.
RSS
Atom