Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJpfI-0001vc-BF for pgsql-committers@arkaria.postgresql.org; Wed, 10 Mar 2021 03:37:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJpfH-0005p5-7x for pgsql-committers@arkaria.postgresql.org; Wed, 10 Mar 2021 03:37:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJpfH-0005oy-2l for pgsql-committers@lists.postgresql.org; Wed, 10 Mar 2021 03:37:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJpfF-0006tI-02; Wed, 10 Mar 2021 03:37:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 12A3bZKQ2060180; Tue, 9 Mar 2021 22:37:35 -0500 From: Tom Lane To: Amit Kapila cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Enable parallel SELECT for "INSERT INTO ... SELECT ...". In-reply-to: References: Comments: In-reply-to Amit Kapila message dated "Wed, 10 Mar 2021 02:17:54 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2060178.1615347455.1@sss.pgh.pa.us> Date: Tue, 09 Mar 2021 22:37:35 -0500 Message-ID: <2060179.1615347455@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Amit Kapila 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