Avoid using lcons and list_delete_first in plan_union_children() - Mailing list pgsql-hackers

From Hou, Zhijie
Subject Avoid using lcons and list_delete_first in plan_union_children()
Date
Msg-id 43b51f3881e14bf5bfe084699d8cc5c6@G08CNEXMBPEKD05.g08.fujitsu.local
Whole thread Raw
Responses Re: Avoid using lcons and list_delete_first in plan_union_children()
List pgsql-hackers
Hi,

In function plan_union_children(),
I found the lcons and list_delete_first here is easy to be replaced by lappend and list_delete_last.

And I also found a previous commit do similar thing, so I try to improve this one.

Previous commit:
d97b714a219959a50f9e7b37ded674f5132f93f3

Best regards,
houzj



Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Next
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Custom compression methods