Re: BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Cc: sveinn(dot)sveinsson(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot
Date: 2017-05-18 03:26:40
Message-ID: CAFiTN-uBVHu2eKBWb8vi9oyixR5LfpbaAH_tQpynz4k+333yOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, May 18, 2017 at 7:19 AM, Amit Langote
<Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> wrote:
> Thanks for creating the patch, although I think a better fix would be to
> make get_partitioned_child_rels() do the list_copy. That way, any other
> users of partitioned_rels will not suffer the same issue. Attached patch
> implements that, along with a regression test.

Correct! This is generic fix.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message lindner 2017-05-18 08:31:15 BUG #14658: psql set autocommit in command line
Previous Message Amit Langote 2017-05-18 01:53:15 Re: BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2017-05-18 03:36:46 Re: Improvement in log message of logical replication worker
Previous Message Tsunakawa, Takayuki 2017-05-18 03:07:33 Re: [bug fix] PG10: libpq doesn't connect to alternative hosts when some errors occur