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 1lx0Rz-0005ew-0l for pgsql-general@arkaria.postgresql.org; Sat, 26 Jun 2021 05:01:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lx0Rx-0003nl-NT for pgsql-general@arkaria.postgresql.org; Sat, 26 Jun 2021 05:01:49 +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 1lx0Rx-0003nZ-Cb for pgsql-general@lists.postgresql.org; Sat, 26 Jun 2021 05:01:49 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lx0Rv-0002er-28 for pgsql-general@lists.postgresql.org; Sat, 26 Jun 2021 05:01:48 +0000 Received: by mail-pf1-x434.google.com with SMTP id c8so9137999pfp.5 for ; Fri, 25 Jun 2021 22:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Q96Ohngk9FTUyGY0zdL3jrVYtC2RqunZjvEWqbizolg=; b=oB7TQTdFxiFZRW/s7JM8uwkUQf5QN2ulinR8G8NTwypxBwQsgfkP1ttkHlbH+ZX048 nQFVpCZdQ6JNJJGcUjDJPrUf3AoMGuKIyTZ8hvl1c3EEP7/ujtK7CjbnoKJLCeEkxjYw KYr6+yGg2ju5CAjyCWjajFBk3ulADx+sr5L2aV4s3HG//aukUnoPG40mKXkitMarLO51 7L7Ts5KwWCuH7nvDlNjHg66reeQ4HHNuczqtgdfCQJ5ZKkbOo1PyAupwOIm1xUK6KKaI OkBzX5DxqO4Mm7pO9zX/4I4pyCi/soZ1D3heWmr5LmKnSKvxBDaOF1EuAef2J8odTLL3 DNbg== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Q96Ohngk9FTUyGY0zdL3jrVYtC2RqunZjvEWqbizolg=; b=SyukqkJvR+CsKcdpngWDeS5WhEGIX2cXXtdf5SUHSNCY+7kJw+r7a5Jh0OGJAgRKz+ xA1SZiCQ6mwWJ/2It2yJKgf3SdJcFg2SC2kF8oIWMzkddC5CgqHMOqFcLC6QJqAzMp+M 1SOYZQBrE7KYtsTeqLHa8FTXg4XM81ibLFqZFjKtNm1Riv8Q+eeSbpFA2WsHrdXoxJ9V 5DM5BKQWAbsMid3DMnz+AOgBhREbmHcK32zFfu3QigqbOPNFtBjkVC1UzhVA4N17olen HPfm1CKbzosP2Fp4xRlgHoLVoY9Q00dgvLu4krxk3ydxZHG6x/x/Hqd6KwZD2LQmftB1 alxQ== X-Gm-Message-State: AOAM531OEnSet4DWtmpLk364jOzZ8EhcQnkf0tqDzoSvCeXwFTccWLZJ FSYVZxpKrcxnKSYrU8LGZ3A= X-Google-Smtp-Source: ABdhPJz5pzg03RlUFsdLnoz2HmU8EF6blrjIoUWvx6fFX85aUO5lbmuFKi/JyOrGHeI9LPAodhf7eQ== X-Received: by 2002:a63:4041:: with SMTP id n62mr12489832pga.204.1624683705896; Fri, 25 Jun 2021 22:01:45 -0700 (PDT) Received: from nol (2001-b011-0001-721f-1649-3133-8a3e-8398.dynamic-ip6.hinet.net. [2001:b011:1:721f:1649:3133:8a3e:8398]) by smtp.gmail.com with ESMTPSA id 190sm6893992pgd.1.2021.06.25.22.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 22:01:45 -0700 (PDT) Date: Sat, 26 Jun 2021 13:01:45 +0800 From: Julien Rouhaud To: =?utf-8?B?5ZGo5Lmm5p6X?= Cc: pgsql-general@lists.postgresql.org Subject: Re: What is the difference between context of "sighup", "super-backend", and "backend" in pg_settings? Message-ID: <20210626050145.zf47mtidineqhit4@nol> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Jun 26, 2021 at 12:56:21PM +0800, 周书林 wrote: > Hi, > > I am interested in the configuration parameter of Postgres. I found that > the configuration parameters in context of "sighup", "super-backend", and > "backend" are all required to send "SIGHUP" signal to postmaster for > rereading configuration files. So my question is, what is the difference > between them, except for the super-usre privilege requirment between > "super-backend", and "backend"? Please refer to the documentation for an exhaustive description: https://www.postgresql.org/docs/current/view-pg-settings.html