pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <akapila@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Enable parallel SELECT for "INSERT INTO ... SELECT ...".
Date: Tue, 09 Mar 2021 22:37:35 -0500
Message-ID: <2060179.1615347455@sss.pgh.pa.us> (raw)
In-Reply-To: <E1lJoQ6-0005BJ-DY@gemulon.postgresql.org>
References: <E1lJoQ6-0005BJ-DY@gemulon.postgresql.org>

Amit Kapila <akapila@postgresql.org> writes:
> Enable parallel SELECT for "INSERT INTO ... SELECT ...".

skink (valgrind) is unhappy:

creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ==4085668== VALGRINDERROR-BEGIN
==4085668== Conditional jump or move depends on uninitialised value(s)
==4085668==    at 0x4AEB77: max_parallel_hazard_walker (clauses.c:700)
==4085668==    by 0x445287: expression_tree_walker (nodeFuncs.c:2188)
==4085668==    by 0x4AEBB8: max_parallel_hazard_walker (clauses.c:860)
==4085668==    by 0x4B045E: is_parallel_safe (clauses.c:637)
==4085668==    by 0x4985D0: grouping_planner (planner.c:2070)
==4085668==    by 0x49AE4F: subquery_planner (planner.c:1024)
==4085668==    by 0x49B4F5: standard_planner (planner.c:404)
==4085668==    by 0x49BAD2: planner (planner.c:273)
==4085668==    by 0x5818BE: pg_plan_query (postgres.c:809)
==4085668==    by 0x581977: pg_plan_queries (postgres.c:900)
==4085668==    by 0x581E70: exec_simple_query (postgres.c:1092)
==4085668==    by 0x583F7A: PostgresMain (postgres.c:4327)
==4085668==  Uninitialised value was created by a stack allocation
==4085668==    at 0x4B0363: is_parallel_safe (clauses.c:599)
==4085668== 
==4085668== VALGRINDERROR-END

There are a few other commits that skink hasn't seen before, but given
the apparent connection to parallel planning, none of the others look
like plausible candidates to explain this.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <2060179.1615347455@sss.pgh.pa.us>
Permalink:  ../2060179.1615347455@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2060179.1615347455@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, akapila@postgresql.org
  Subject: Re: pgsql: Enable parallel SELECT for "INSERT INTO ... SELECT ...".
  In-Reply-To: <2060179.1615347455@sss.pgh.pa.us>
  References: <E1lJoQ6-0005BJ-DY@gemulon.postgresql.org> <2060179.1615347455@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox