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.89) (envelope-from ) id 1hmrxh-00076Z-4t for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jul 2019 03:47:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hmrxd-0002p3-TL for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jul 2019 03:47:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hmrxd-0002mM-Dk for pgsql-hackers@lists.postgresql.org; Mon, 15 Jul 2019 03:47:33 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hmrxT-0006Ui-T5 for pgsql-hackers@postgresql.org; Mon, 15 Jul 2019 03:47:31 +0000 Received: by mail-pl1-x641.google.com with SMTP id w24so7587341plp.2 for ; Sun, 14 Jul 2019 20:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=KjA5IBGiG1TH2q9ZoCFf449vJWzKf8sn2+gnYZFaKCI=; b=Lcg+cwzXJCFYL9AVbuyl+7TjWR1Lll2Xc3Bp9yg+y6JHxfuQtsoCEsCO9X3+Ach582 lidmilH1C2W2TWHHya9pEbBqU5mZRs+GRDj3pMDxwnl0HTLdBpeJu2ctworZN2kUJQ0K 9pnvVGquuJmjWrVXDhjYh0lk4SBmJZ3Up6nM/l630xkjdbUgSWxbuEAWFEg5+BENCiDm WIxIRf4E+hLW/vqxzIMozEjubCL4WQHIwS7wXPHy2T6EwjsQSi+7xZEY0Ookhg1CFaQm NGSz/bzfNn+pZVyM1yXf00+lgSBEULy5IvYCwXEyU+aG4OWiXtQEaFPLcWUpoZBrF9xW tDsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=KjA5IBGiG1TH2q9ZoCFf449vJWzKf8sn2+gnYZFaKCI=; b=RMKrXJYYeZSwkAmRfoyGLTZpxEZVlDjTNHTCu/vQjNm4gOojJ6hFF54RoUGShwyUH4 v4AlmSIlO5OodX7YmMfc7IMVFB9nTuKHkAmInGBkc10sdMT7hQ8xjDA5rWxysHGWOnK3 zb4bYyKqXW0EbzEMhVJlhknsglENuCvChkJ3U5iwTzoW8fOc3PTIUm3cslnQsrT29JyG 2TA9zUoG9yhgNmNAqv04nGMfoRvEJ97e1Qt9dVRFZr01aljZwRptL5RmC4LRq6z8CgZ8 h03NgYRbiW2pf/r1j3IgLBQ0on4G6GpGCdMrlvP/gK9HmQSeWmGQWIqFWoG26NTpBFom SmCA== X-Gm-Message-State: APjAAAWksUaBYbIEpxHPWirXOEMe5nhAYD/k6qp02BfNqTOLOPQs/7Hu N3s2PMebgOeP1L6xlNZ7JjWMGhuWIoO9Hg3tETk/Tmks9KGmsakJ/PKxlZpAOxi72mLBifjyFq7 lpjVtb8+zUjtHZ2ffLheBQ9Q1S6gw0FHDT5mZwUegmWp5np73MbLKcSKndehBggbjwFVqo40DWY YQAZr5sVRBemDr X-Google-Smtp-Source: APXvYqz1aD9grHqhcGzXW5MRTHE8teixVMPb8a0ecJiG39mU7nUIwpCrFal3tN+qyN3Mh862IjIVjQ== X-Received: by 2002:a17:902:42d:: with SMTP id 42mr24803314ple.228.1563162441214; Sun, 14 Jul 2019 20:47:21 -0700 (PDT) Received: from osaka.octopusnet (p274154-ipngn12401marunouchi.tokyo.ocn.ne.jp. [153.201.73.154]) by smtp.gmail.com with ESMTPSA id 14sm14559058pgp.37.2019.07.14.20.47.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 20:47:20 -0700 (PDT) To: "pgsql-hackers@postgresql.org" From: Ian Barwick Subject: doc: mention pg_reload_conf() in pg_hba.conf documentation Message-ID: <538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com> Date: Mon, 15 Jul 2019 12:47:18 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7959B5ADDBB26CFA331A6FA8" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------7959B5ADDBB26CFA331A6FA8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi I noticed the documentation for pg_hba.conf: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html says: you will need to signal the postmaster (using pg_ctl reload or kill -HUP) to make it re-read the file. It would be useful to mention pg_reload_conf() as another option here, as done elsewhere in the docs. Patch with suggested change attached. Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------7959B5ADDBB26CFA331A6FA8 Content-Type: text/x-patch; name="doc-pg_hba-pg_reload_conf.v1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="doc-pg_hba-pg_reload_conf.v1.patch" diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml new file mode 100644 index 3ed74d8..c90ca0b *** a/doc/src/sgml/client-auth.sgml --- b/doc/src/sgml/client-auth.sgml *************** hostnogssenc databaseSIGHUPSIGHUP signal. If you edit the file on an active system, you will need to signal the postmaster ! (using pg_ctl reload or kill -HUP) to make it ! re-read the file. --- 650,658 ---- SIGHUPSIGHUP signal. If you edit the file on an active system, you will need to signal the postmaster ! (using pg_ctl reload, kill -HUP ! or by calling the SQL function pg_reload_conf()) ! to make it re-read the file. --------------7959B5ADDBB26CFA331A6FA8--