From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Edmund Horner <ejrh00(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Calculate total_table_pages after set_base_rel_sizes() |
Date: | 2018-09-25 22:02:38 |
Message-ID: | CAKJS1f9NiQXO9KCv_cGgBShwqwT78wmArOht-5kWL+Bt0v-AnQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 25 Sep 2018 at 10:23, Edmund Horner <ejrh00(at)gmail(dot)com> wrote:
> I have a small tweak. In make_one_rel, we currently have:
>
> /*
> * Compute size estimates and consider_parallel flags for each base rel,
> * then generate access paths.
> */
> set_base_rel_sizes(root);
> set_base_rel_pathlists(root);
>
> Your patch inserts code between the two lines. I think the comment should be split too.
>
> /* Compute size estimates and consider_parallel flags for each base rel. */
> set_base_rel_sizes(root);
>
> // NEW CODE
>
> /* Generate access paths. */
> set_base_rel_pathlists(root);
Thanks for looking at this.
I've changed that in the attached updated patch.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
v2-0001-Calculate-total_table_pages-after-set_base_rel_si.patch | application/octet-stream | 4.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-09-25 22:03:36 | Re: Slotification of partition tuple conversion |
Previous Message | David G. Johnston | 2018-09-25 22:01:31 | Re: transction_timestamp() inside of procedures |