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 1l47wq-0001rZ-9j for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jan 2021 19:54:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l47wp-00047G-4w for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jan 2021 19:54:51 +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 1l47wo-000476-U7 for pgsql-hackers@lists.postgresql.org; Mon, 25 Jan 2021 19:54:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l47wm-000457-Pk for pgsql-hackers@lists.postgresql.org; Mon, 25 Jan 2021 19:54:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10PJskIn1900392; Mon, 25 Jan 2021 14:54:46 -0500 From: Tom Lane To: Jacob Champion cc: "pgsql-hackers@lists.postgresql.org" , "sfrost@snowman.net" Subject: Re: Fixing cache pollution in the Kerberos test suite In-reply-to: <6933ad07afc4c8325059eb9c40ec213fa40adf35.camel@vmware.com> References: <1fcb175bafef6560f47a8c31229fa7c938486b8d.camel@vmware.com> <20210125183645.GF27507@tamriel.snowman.net> <1894698.1611600541@sss.pgh.pa.us> <0c0cbc9b9a7a1bcd6e78e5eddf706ddeba0293da.camel@vmware.com> <1895343.1611601474@sss.pgh.pa.us> <6933ad07afc4c8325059eb9c40ec213fa40adf35.camel@vmware.com> Comments: In-reply-to Jacob Champion message dated "Mon, 25 Jan 2021 19:31:16 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1900390.1611604486.1@sss.pgh.pa.us> Date: Mon, 25 Jan 2021 14:54:46 -0500 Message-ID: <1900391.1611604486@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jacob Champion writes: > On Mon, 2021-01-25 at 14:04 -0500, Tom Lane wrote: >> True, but if it did try to access the cache, accessing the user's >> normal cache would be strictly worse than accessing the test cache. > That's fair. Attached is a v2 that just sets KRB5CCNAME globally. Makes > for a much smaller patch :) I tweaked this to make it look a bit more like the rest of the script, and pushed it. Thanks! regards, tom lane