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 1mQ8xe-0003IL-Kb for pgsql-admin@arkaria.postgresql.org; Tue, 14 Sep 2021 13:58:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQ8xc-0006DP-W3 for pgsql-admin@arkaria.postgresql.org; Tue, 14 Sep 2021 13:58:56 +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 1mQ8xc-0006DH-NG for pgsql-admin@lists.postgresql.org; Tue, 14 Sep 2021 13:58:56 +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 1mQ8xW-00046R-Q2 for pgsql-admin@postgresql.org; Tue, 14 Sep 2021 13:58:56 +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 18EDwkuR588196; Tue, 14 Sep 2021 09:58:46 -0400 From: Tom Lane To: "Campbell, Lance" cc: "pgsql-admin@postgresql.org" Subject: Re: Temporary Files In-reply-to: <86AF6E86-7E03-4BA1-83AA-DE277A224690@illinois.edu> References: <86AF6E86-7E03-4BA1-83AA-DE277A224690@illinois.edu> Comments: In-reply-to "Campbell, Lance" message dated "Tue, 14 Sep 2021 13:37:37 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <588194.1631627926.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Sep 2021 09:58:46 -0400 Message-ID: <588195.1631627926@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Campbell, Lance" writes: > Is there a way to see, track or log the queries that result in temporary= file creation? The log_temp_files setting might be of use. regards, tom lane