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 1pKPRN-0002DN-Sc for pgsql-docs@arkaria.postgresql.org; Tue, 24 Jan 2023 19:58:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pKPRM-0002Hv-G2 for pgsql-docs@arkaria.postgresql.org; Tue, 24 Jan 2023 19:58:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKPRM-0002Hm-6i for pgsql-docs@lists.postgresql.org; Tue, 24 Jan 2023 19:58:44 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pKPRI-00027P-O2 for pgsql-docs@lists.postgresql.org; Tue, 24 Jan 2023 19:58:43 +0000 Received: by mail-ej1-x631.google.com with SMTP id mp20so41988138ejc.7 for ; Tue, 24 Jan 2023 11:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=TWr7NqL+f1xD6lzUFjrYHeDorXmC2U18wguZOVfvDx8=; b=USzyZHlMGFw5xoV1lt4fYlFN6fvM4XjZKFVeFqUe6dNFWuUsuspAYVO+l9lIFyj5La 4fZeQGkCTwclFPO8HXztI9oton5D0puEN4t8UfYHkHHmV+Een+3RkxmiLV+xPaOAfK+n knz0C8j1l6hiT7xymokj6uLaArqe07Bv7reVu8aCSaKntH0RJ5O1yYfaS13xJf4NJPjy 7luJvMQp3TRqb3r1/MSkMmU4V4quX8TNT1NHjZ1sC9gJkeW4Mzf3C28QmZT5/aJjZgAl MlOCIsnqc+id+xZaMPyNCJ89OBgGXmM5GVC8g696gYe+ciBEprxax2ymHtOYzUpiNACm uarg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TWr7NqL+f1xD6lzUFjrYHeDorXmC2U18wguZOVfvDx8=; b=M1I3euVPxFKxHnpY3QquMQ6ISIPb7gfbBipcc/sEDWqQIdQSvZcH97vzwOxGbta2ev HOEesHjXgQ8VY99oxRXUDNL87f0LAWvUGIrD2eSq4VlyHkGX3QZCAzXHy7/pK3mfMj0K jw/p8oxewr88VxOL4CrGpEHgzFRO+ktzPedwXBI3o9ykRO9sIrxqdYJVWb0CPIFTOidw 2GZwCbftkiOvUMawOqDnett4dvH72/y4wzrK+WQEd1lMGZttniR3rVfvWeAbX6ntp2xI qjVOtiTjQm/SYI2KMHZLuYRL9rD5oZIU9dyPWEMPgQkoPcYgDw1dW1uGvVCwYoT8MQ00 eSlg== X-Gm-Message-State: AFqh2kosnS0B/tXPT/KY/DCdeawDSKHX5TAhXQrc7NqaFTgeItN0Wrxm 5cCN8eBjhh6MZKZ9WOs2k8FoLHIJJQcq/+cLRNQ= X-Google-Smtp-Source: AMrXdXt3Rm9011xu8X0ywIPg1AWAxdoUEpDWAemrrur+2zsG8aY2E3Zg1dZ705YUf2We5o+8PRzGKQWJPqz6oNuDhnU= X-Received: by 2002:a17:906:3c11:b0:86f:bc11:d6a5 with SMTP id h17-20020a1709063c1100b0086fbc11d6a5mr3596327ejg.134.1674590319480; Tue, 24 Jan 2023 11:58:39 -0800 (PST) MIME-Version: 1.0 References: <167458061960.2667301.833819130259765379@wrigleys.postgresql.org> In-Reply-To: <167458061960.2667301.833819130259765379@wrigleys.postgresql.org> From: "David G. Johnston" Date: Tue, 24 Jan 2023 12:58:23 -0700 Message-ID: Subject: Re: https://www.postgresql.org/account/comments/new/15/sql-alterdatabase.html/ To: troy@frericks.us, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002311e005f307f1ac" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002311e005f307f1ac Content-Type: text/plain; charset="UTF-8" On Tue, Jan 24, 2023 at 12:43 PM PG Doc comments form < noreply@postgresql.org> wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/15/sql-alterdatabase.html > Description: > > Would love to see more information about each of the ALTER DATABASE > parameters... a specific... "connlimit"... -1 means no connections, but > what > does 0 mean? Are there users that connect even though the connection limit > is exceeded. Is there special allowances for other database connections, ie > backups? > I would expect superuser roles to ignore all of those options. Everyone else, not so much. connlimit=0 should have the same effect as allowcon=false There is some enhancement at the margins here but unless you are trying to do unusual stuff it should be working as one would intuitively expect. David J. --0000000000002311e005f307f1ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jan 24, 2023 at 12:43 PM PG Doc comments form <= noreply@postgresql.org> wr= ote:
The following documentation comment has been l= ogged on the website:

Page: https://www.postgresql.org/docs/15/sq= l-alterdatabase.html
Description:

Would love to see more information about each of the ALTER DATABASE
parameters... a specific... "connlimit"... -1 means no connection= s, but what
does 0 mean? Are there users that connect even though the connection limit<= br> is exceeded. Is there special allowances for other database connections, ie=
backups?

I would expect superuser roles = to ignore all of those options.=C2=A0 Everyone else, not so much.=C2=A0 con= nlimit=3D0 should have the same effect as allowcon=3Dfalse

There is some enhancement at the margins here but unless you are tryi= ng to do unusual stuff it should be working as one would intuitively expect= .

David J.

--0000000000002311e005f307f1ac--