| From: | Richard Guo <guofenglinux(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Some dead code in get_param_path_clause_serials() |
| Date: | 2024-11-13 09:34:36 |
| Message-ID: | CAMbWs4_Puie4DQ2ODvjQB_3CxYkUODnrJm8jn_ObMAcrjYNW7Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The function get_param_path_clause_serials() is used to get the set of
pushed-down clauses enforced within a parameterized Path. Since we
don't currently support parameterized MergeAppend paths, and it
doesn't look like that is going to change anytime soon (as explained
in the comments for generate_orderedappend_paths), we don't need to
consider MergeAppendPath in this function. Is it worth removing the
related code, as attached?
This change won't make any measurable difference in performance; it's
just for clarity's sake.
Thanks
Richard
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-Remove-dead-code-in-get_param_path_clause_serials.patch | application/octet-stream | 2.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nisha Moond | 2024-11-13 09:35:01 | Re: Introduce XID age and inactive timeout based replication slot invalidation |
| Previous Message | Nisha Moond | 2024-11-13 09:30:28 | Re: Introduce XID age and inactive timeout based replication slot invalidation |