pgsql: Reorder tests in get_cheapest_path_for_pathkeys().

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Reorder tests in get_cheapest_path_for_pathkeys().
Дата
Msg-id E1qeJwn-002qab-5z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Reorder tests in get_cheapest_path_for_pathkeys().

Checking parallel safety should be even cheaper than cost comparison, so
do that first.

Also make some minor, related comment improvements.

Richard Guo, reviewed by Aleksander Alekseev, Andy Fan, and me.

Discussion: http://postgr.es/m/CAMbWs4-KE2wf4QPj_Sr5mX4QFtBNNKGmxK=+e=KZEGUjdG33=g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9caf042088e7416ed612e52519ee15f0717e86a7

Modified Files
--------------
src/backend/optimizer/path/pathkeys.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Move privilege check to the right place
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: change "cross product" to "Cartesian product"