Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jEbxT-0007ln-91 for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2020 16:54:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jEbxR-0007eP-Nu for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2020 16:54:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jEbxQ-0007cU-V2 for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2020 16:54:17 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jEbxM-0008QO-Td for pgsql-hackers@postgresql.org; Wed, 18 Mar 2020 16:54:14 +0000 Received: by mail-qk1-x744.google.com with SMTP id p6so1061314qkm.0 for ; Wed, 18 Mar 2020 09:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=AC+8hmnif+OJPmqWWranKWNLLu/sp10BVj1Do1m+Nq0=; b=MHweBgEWJUakr+Zv6KEuwu0iRkcN99gQGtOJIDg963ILAyvf79M73lGdwPafM79A46 aF6a+RLW186gPu3ACzJ4BVaT++SajdeAdVPGpZkCSrBwHuPJ1JjUDO33/x3nzh9Y+Psg 7ajy1Hr14vmGWaTYMsPiwF28XGcWLdacGaRh7C23xm3iIu5WpiHYNDmqqHjkhV1AebIm D2PYfgnR6KvDPcj+oVj1ooTa+d4ZaoO1fzFBdSWip4ESNyICUeFlUina2Gby5Hba2FRJ ajtKocUXpP1FAfD2SI69C4Cps1uXEAPmnKn6RoJmc7wAlEHfenFdx34+RqaHJpv+RSh/ fiTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=AC+8hmnif+OJPmqWWranKWNLLu/sp10BVj1Do1m+Nq0=; b=sBiWkdh5af9c67nJ31GPJefsV8Oykb5NdFOH00kd37dM0sKYn9mLdsrMKLRcIu7+T5 E6F0div3TZev2ebd51pfOlf42EatqAuAbwzKzXk82tOh1ZwvTf1XcJo+EqZ/Wdv7XGiO 4zjpw1upWl3kTMCnD0/siIdRp2wEvVhvbrzYHseehB8fj6nUxP9QvcGb2SC+np4ToP1n Jl2xeII3p/kxof1LKL6mnSGqv5oNghQHnZHq9WfBImSnlcXmjDKvLsX2A2WqQm2swtmM btSR2YthmIbpGvkje0On0Yy0pDjbj0C5FbaNV2GzMN3UR92JVRdV6EA+pt5LHoGglEcX aRqQ== X-Gm-Message-State: ANhLgQ3SesFYcKyYzieNLcd5CqvM7lPTq5UQ2+ZC3G8HJVLqsq5YR1TY WhQRJoQkoVJmXd0QcTo13kqqtQ== X-Google-Smtp-Source: ADFU+vsWjz1WgufE2ybeHkvIbuQ7tuISpMqcJsRSowthfUmz3zjJDTS1ot503dxXoZ6LQZRqxxTE7w== X-Received: by 2002:a37:4803:: with SMTP id v3mr5063775qka.331.1584550452246; Wed, 18 Mar 2020 09:54:12 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.30.174]) by smtp.gmail.com with ESMTPSA id d141sm4493612qke.68.2020.03.18.09.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 09:54:11 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id A0A04300805; Wed, 18 Mar 2020 13:54:09 -0300 (-03) Date: Wed, 18 Mar 2020 13:54:09 -0300 From: Alvaro Herrera To: Mike Palmiotto Cc: Justin Pryzby , Michael Paquier , Andres Freund , Yuli Khodorkovskiy , Tom Lane , pgsql-hackers Subject: Re: Auxiliary Processes and MyAuxProc Message-ID: <20200318165409.GA23570@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-18, Mike Palmiotto wrote: > On Wed, Mar 18, 2020 at 11:26 AM Mike Palmiotto > wrote: > > > > On Wed, Mar 18, 2020 at 10:17 AM Justin Pryzby wrote: > > > Also, I saw this was failing tests both before and after my rebase. > > > > > > http://cfbot.cputube.org/ > > > https://ci.appveyor.com/project/postgresql-cfbot/postgresql/builds/31535161 > > > https://ci.appveyor.com/project/postgresql-cfbot/postgresql/builds/31386446 > > > > Good catch, thanks. Will address this as well in the next round. Just > > need to set up a Windows dev environment to see if I can > > reproduce/fix. > > While I track this down, here is a rebased patchset, which drops > MySubprocessType and makes use of the MyBackendType. Note that you can compile with -DEXEC_BACKEND to use in a *nix build the same technique used to spawn processes in Windows, which might be an easier way to discover some problems without a proper Windows build. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services