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 1ppzrB-00074W-K3 for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 23:07:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ppzrA-0004c0-1N for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 23:07:56 +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 1ppzr9-0004br-Nf for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 23:07:55 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ppzr6-001A1B-S7 for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 23:07:54 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-63b4dfead1bso2415367b3a.3 for ; Fri, 21 Apr 2023 16:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682118472; x=1684710472; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=f3QQGbntlN8M6hbPpudvLkp7oTdPFhtcR7VSAQiPrfU=; b=pmfKA9C6bfrzWf4VRSXRizeqQvgI4aLj9pYKfw/NjZXj+ZpeMzC8wzBOalp9CAWKfg ExvKyvx0Z6VPCTkfGlC7Sr3Wh9Sb9VCrLPT6s5OJKDgFtKKmU3ve482/YqHTnzXhSIIg w9YCBfj91cgpYU+DBSLpc3LjbO/wQy5D/EM0N51GntQkjm3l7K317kSVDMph8EEQi/kJ fRelY/c6G4VIyv2cIh6wOPghQ34qq243/CwZuU9ShKhs2p33M9cf1kWldSTOGHfpa1YB lVGuaT0jP9XwizF+jO+K+JG00veJ5wziFO5ipyvopCVf9z8lPySecYQFnwCdYrltBgtB Yi3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682118472; x=1684710472; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f3QQGbntlN8M6hbPpudvLkp7oTdPFhtcR7VSAQiPrfU=; b=iJsRsGLnl0ToAoku2lSQVmu7UBbCCugwNhDWHPZlvyVyanYwuFLz4XoykJwbeQmOQM Lvq/cOwovc/0Zj/i9KdiRKh9PG/TfUv294/c/rP6V/cv2gpj78kId+FI0vr81KUrD+Fe LSi6Wnr2zFbeqZ2G7jy9nCU6CWWS+NhAnVmnFUIcxXeim3sToburt60KWSgNkytUr9LY emiN5feolTM9uiaO45Gg+OkW+M32GgWSyzeV4KCxAk8sWaBBEhjgRmWUnPt9AO0A4nuS vwLg2qj/qzneJypiRPg3SzexfnhY/l7bMOnU3jse4JlmUtBYICQkCicPxsImKjuirMhY e3Cg== X-Gm-Message-State: AAQBX9c3fuyYAtB+GLmmiNTy1yl0AhThCykdH6+fBg4QwAbssg/IZ4gy u3DqkxYOzoGoyBDRJK/BXcI= X-Google-Smtp-Source: AKy350bvkqC1CUbVm516YmN0AGr2Xzc+76teHz5D3Wz2q/AIvcsVcyBUDYJf9NhTybTqNpG26dwp5g== X-Received: by 2002:a05:6a00:2da7:b0:625:ea57:389b with SMTP id fb39-20020a056a002da700b00625ea57389bmr8739271pfb.5.1682118471889; Fri, 21 Apr 2023 16:07:51 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id 123-20020a621881000000b00638965d4248sm3379042pfy.184.2023.04.21.16.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 16:07:51 -0700 (PDT) Date: Fri, 21 Apr 2023 16:07:49 -0700 From: Nathan Bossart To: Andres Freund Cc: Thomas Munro , Michael Paquier , Robert Haas , Tom Lane , Fujii Masao , Postgres hackers Subject: Re: stopgap fix for signal handling during restore_command Message-ID: <20230421230749.GA1445799@nathanxps13> References: <20230225190742.lfopue3nkrvxxoie@awork3.anarazel.de> <20230225192825.GA868928@nathanxps13> <20230225195253.hzp6pyllhn4kw4g6@awork3.anarazel.de> <20230225220629.GA1021641@nathanxps13> <20230226180029.djk7cth4o3o5doom@awork3.anarazel.de> <20230226193900.GA1248604@nathanxps13> <20230226201227.cner3cdicropu4q5@awork3.anarazel.de> <20230301043603.GD1453450@nathanxps13> <20230301224751.GA1823946@nathanxps13> <20230301231304.bariubyihe4iv53o@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230301231304.bariubyihe4iv53o@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Mar 01, 2023 at 03:13:04PM -0800, Andres Freund wrote: > On 2023-03-01 14:47:51 -0800, Nathan Bossart wrote: >> Here is an attempt at adding a signal safe function for writing to STDERR. > > Cool. I'm gently bumping this thread to see if anyone had additional feedback on the proposed patches [0]. The intent was to back-patch these as needed and to pursue a long-term fix in v17. Are there any concerns with that? [0] https://postgr.es/m/20230301224751.GA1823946%40nathanxps13 -- Nathan Bossart Amazon Web Services: https://aws.amazon.com