Re: Code cleanup for build_regexp_split_result

2020-01-16 Thread Tom Lane
Li Japin writes: > I find the build_regexp_split_result() has redundant codes, we can move it to > before the condition check, can we? Hm, yeah, that looks a bit strange. It was less strange before c8ea87e4bd950572cba4575e9a62284cebf85ac5, I think. Pushed with some additional simplification

Code cleanup for build_regexp_split_result

2020-01-16 Thread Li Japin
Hi hackers, I find the build_regexp_split_result() has redundant codes, we can move it to before the condition check, can we? Best regards. Japin Li 0001-Code-cleanup-for-build_regexp_split_result.patch Description: 0001-Code-cleanup-for-build_regexp_split_result.patch