diff options
author | Richard Guo | 2024-07-29 02:33:18 +0000 |
---|---|---|
committer | Richard Guo | 2024-07-29 02:33:18 +0000 |
commit | f47b33a19115f432ad80777db0d1350d23bb6cf5 (patch) | |
tree | caa38938fdbaad0a6e92ceeaa11a4ca9c4ebea70 /src/backend/tcop/postgres.c | |
parent | 2e68077b07cc597ef6bdfacffb5acbd17e179237 (diff) |
Simplify create_merge_append_path for clarity
We don't currently support parameterized MergeAppend paths: there's
little use for an ordered path on the inside of a nestloop. Given
this, we can simplify create_merge_append_path by directly setting
param_info to NULL instead of calling get_appendrel_parampathinfo. We
can also simplify the Assert for child paths a little bit.
This change won't make any measurable difference in performance; it's
just for clarity's sake.
Author: Richard Guo
Reviewed-by: Alena Rybakina, Paul A Jungwirth
Discussion: https://postgr.es/m/CAMbWs4_n1bgH2nACMuGsXZct3KH6PBFS0tPdQsXdstRfyxTunQ@mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions