Remove redundant setting of tuplesort status
authorJohn Naylor <john.naylor@postgresql.org>
Mon, 9 Jan 2023 09:53:21 +0000 (16:53 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Mon, 9 Jan 2023 09:53:21 +0000 (16:53 +0700)
commit2673ebf49acfd83b09c777ced8f21eacd27b51ce
tree84411d41071fc2e9e79292a29d0dbd2d74ff528a
parentc06caa0d622b21c617d10504d1c1a39dbd2d3f1e
Remove redundant setting of tuplesort status

Also add an explanatory comment to match other similar coding within
tuplesort_performsort().

Xing Guo

Reviewed by Richard Guo and Cary Huang
Discussion: https://www.postgresql.org/message-id/CACpMh%2BAQ4GXRKKi9ib2ioUH%2BqwNaSAVbetssJ0tMPfxAWuL2yg%40mail.gmail.com
src/backend/utils/sort/tuplesort.c