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 1q9A63-0007h9-A3 for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jun 2023 19:54:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q9A61-00066w-VA for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jun 2023 19:54:29 +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 1q9A61-00066m-Nx for pgsql-committers@lists.postgresql.org; Tue, 13 Jun 2023 19:54:29 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q9A5z-0021jG-2E for pgsql-committers@lists.postgresql.org; Tue, 13 Jun 2023 19:54:28 +0000 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-25c07cb3df4so1366894a91.0 for ; Tue, 13 Jun 2023 12:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20221208.gappssmtp.com; s=20221208; t=1686686066; x=1689278066; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=0t6WgHQAQFcNSnCKGGPEthEgB16Hpzp3hWmhAsNF2bo=; b=VDOKY4v9302w47hg44CZfR9Z5X8WbQ25ri+SQxO6pKmGbyzbP85RzW0qEEr5sTOBGs DXqHxG+K3zhBZ3zJeRi2NEKWECdfQavLt1Fhr1v7npN3ePpl2h807aTH7mvBv0PhOMFy aIjMobvp6QzTfm3HE9NHMGCKRG/egmTJ8i3ot9hnDSZS7A/DvAIcDZICVfmd99StqjSL XUCJ+pYtEvMplNDIr0chqwpzH1o1Mpze2C5sPxO7yGzpWB3qeUq/3BQ1MzYUQ+TaLxan wlf+B4kNYtLpL0xaBXZG/czfjS1YkUXQmLwozPPrBGoYC7srAmzEvTRN9NKW0EH/3RjS QBbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686686066; x=1689278066; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0t6WgHQAQFcNSnCKGGPEthEgB16Hpzp3hWmhAsNF2bo=; b=XlUM7Vhm3Hn2ocJTtm4DFb9HiDtoHY2+5WS+SfKP/ujvJJOqo6ZhkBsGZwd3i7LxhK g/BXa3AaJAa03fdHl3zEkLdXT52sn1gUtYNrATwDs+OMqfhtv4TK/OwxhQZpIve5iIk5 Bmq6cXryPY+wAvq9EUn+TWX35kTsaIx7IfHognCw4q8q479tQ5r7laRsSAt6QbX0t1al vCugT+3WNjnx83CcQfFfzvPneolD77Us9quFyU3d89+PN2j6x247v9tk9MuSCYzOKeVo NVyymfqCBpVLAGWzEiZsgbVuhXl5gFPZMIyokEZBt5BmZZu+fEAFuXfb2hCaCQcae6MC CpGg== X-Gm-Message-State: AC+VfDxH0lATdFpp7DZzxYGjxgaNzWdVdVzsstokjhCNfMDOymQXuZ+9 3RQ+u0c2DjPBrhTFn+7eSjRrpQ== X-Google-Smtp-Source: ACHHUZ4GqIqC3BKYKqBddlcCVRB4JIy7PpZfESaVO+aCBR4/0kQuk5lgVDMbsDLX3uRNrYeiZ5nF1w== X-Received: by 2002:a17:90a:2c4e:b0:25b:f1bd:a86a with SMTP id p14-20020a17090a2c4e00b0025bf1bda86amr4983903pjm.42.1686686065891; Tue, 13 Jun 2023 12:54:25 -0700 (PDT) Received: from [172.24.1.9] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id fs5-20020a17090af28500b002591f7ff90csm9707791pjb.43.2023.06.13.12.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 12:54:25 -0700 (PDT) Message-ID: <32747058519a68f099ac175a3a4bde4ba7cebb22.camel@j-davis.com> Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations. From: Jeff Davis To: "David G. Johnston" Cc: Noah Misch , Tom Lane , Jeff Davis , "pgsql-committers@lists.postgresql.org" Date: Tue, 13 Jun 2023 12:54:24 -0700 In-Reply-To: References: <89a415b86d5421941e4281ba5bf6288934078624.camel@j-davis.com> <573014.1686375211@sss.pgh.pa.us> <20230612170510.GA201972@gust.leadboat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2023-06-12 at 18:31 -0700, David G. Johnston wrote: > On a related note, are we OK with someone using this privilege > setting their own default_statistics_target? >=20 > https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-DEF= AULT-STATISTICS-TARGET >=20 > My prior attempt to open up analyze had brought this up as a reason > to avoid having someone besides the table owner allowed to analyze > the table. Thank you for bringing it up. I don't see a major concern there, but please link to the prior discussion so I can see the objections. Regards, Jeff Davis