Re: remove unneeded pstrdup in fetch_table_list

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-13T09:25:38Z
Lists: pgsql-hackers
> On 13 Jan 2021, at 07:10, Amit Kapila <amit.kapila16@gmail.com> wrote:

> Your observation seems correct to me, though I have not tried to test
> your patch.

+1 to apply, this looks correct and passes tests.  Scanning around I didn't see
any other occurrences of the same pattern.

cheers ./daniel


Commits

  1. Remove unnecessary pstrdup in fetch_table_list.