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 1lN5Tp-0007gX-Q0 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 03:07:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lN5To-0006oD-LC for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Mar 2021 03:07:16 +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 1lN5To-0006o0-E8 for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 03:07:16 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lN5Tk-0005pN-Tg for pgsql-hackers@lists.postgresql.org; Fri, 19 Mar 2021 03:07:15 +0000 Received: by mail-ej1-x632.google.com with SMTP id jy13so7261578ejc.2 for ; Thu, 18 Mar 2021 20:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vGjWY80cK3m0R/bECJG6urqo7Q9hmmVeYyVQvK/4ayI=; b=G4Wbwqmx8G9Bafz/oBZdCCebOtjIjDlrtoXmHT2j5ww7ZnKWafvrCkltrncQN55Isu XDCQgF2id6Wgk/4PPR1z03Qb77c6VkGXxK4pxLJI7KV8IWS/Fo0uTWcheV+NkOjo6/Qi 9jyxanIU/HEtKACFUiHiWjxXBuCoLXHSk96Q2eF8J0bPnWcb+E6fKveZVNAnoIwbPTOg MQkDyE1GpSFw8ySbQI4xGGAP71A52NQU3X7Yk2ODxzUiXIvLvnvhqppdTuFT35fvmvGQ VhOHkvUb3oc25Cn1kYhPP0Bc/3p1TS0PfXDDZHIa3cEnAUzVYlZwsG9BXk/eXW79Jcqi A38w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vGjWY80cK3m0R/bECJG6urqo7Q9hmmVeYyVQvK/4ayI=; b=NxnHYs+nGIXCJJ94Z5XnTqBqY33uymiX104Z1fCX5qpwIz89RFANVHQpd/GK0bgiim lRb4slW9enidf+v2ckOmnZrStUm2YO/GHHb2vg+ln/Yg3kyLL1H1uekB7HsqEUNmChMV VVYuwZU/z54PiDfuZKmJgMmqDHioDKZUHkKBKdyqGGXiHxtyslht91lFycY4TbPfusnY 47kbsR9F2qSG21D5aXre2Wj+Zknh8bXQ3BURk0Ydi3ElM8mFBNOAc068Zdt1vQLMk7Bp BhXqtMmeuipFV8OwKqrp2khn1PYVoUBCgaJskWboVtoOhJ0jvANHKJcyZOxG6uiFhp/A TMUQ== X-Gm-Message-State: AOAM533uWK3+JrmsH+dNXSCIW9fspwkW2TaOpOBg1yY2c2D9Wu6xe/9v 4GWLTSq1ZulE3ZxQSU4EubqBgEh7cPCeHUQN38Ke/mvBJC3rCdRMTttPV1VDfmD/CVdmn8Gwtju D8RmaGqZp2iurnaF1j4b+EPo4DOmDGOUr61cTsjwZ2Hi67TOnsyOY4BFk7Eq8ad6VnpbBZDfTak 1SoH7aQ/Y1sNos04Gi9QXzV9d1wJkrxOpT5/FmLFr+n0BOEZkCaWFxu4rB5aK7ErDNx4mrm465P zrU9nVz6YPES/Zf3FRePfo9oK7IRocbLnhzOyKtLUB/jxHoNUfkgA== X-Google-Smtp-Source: ABdhPJxRDA+9Z4DbKjXmJ/CBG5suFySa67ESZiJfMk/QfOq8TPwwCHg1SQJ3KknoOmy6r+dXkJ3mUw== X-Received: by 2002:a17:906:814b:: with SMTP id z11mr1909343ejw.290.1616123230129; Thu, 18 Mar 2021 20:07:10 -0700 (PDT) Received: from [10.137.0.20] (ip-86-49-253-127.net.upcbroadband.cz. [86.49.253.127]) by smtp.gmail.com with ESMTPSA id l12sm3166552edb.39.2021.03.18.20.07.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Mar 2021 20:07:09 -0700 (PDT) Subject: Re: cleanup temporary files after crash To: Tom Lane Cc: Euler Taveira , Thomas Munro , Michael Paquier , Euler Taveira , Anastasia Lubennikova , Tomas Vondra , PostgreSQL Hackers References: <363cb85c-3a03-9a49-b830-8b645c1241d9@enterprisedb.com> <4245d284-97b2-4056-96c2-455792d9b564@www.fastmail.com> <8740f056-a7c0-ff12-0a50-de5324a928ee@enterprisedb.com> <822e3a60-56a1-219d-c473-365751c3e108@enterprisedb.com> <54663718-1d87-46f2-a27b-e7edacbfae0d@www.fastmail.com> <1ec33f3d-ea4c-28c8-502c-3eb0a008a6ac@enterprisedb.com> <34226249-c5ba-4780-a1bb-f3433d19716e@www.fastmail.com> <05d307fc-8391-4091-b279-1b3214658f10@www.fastmail.com> <049a2752-fc99-194d-31b2-b15ffa914cd4@enterprisedb.com> <482a6498-7713-e937-c554-7d235c415fba@enterprisedb.com> <112f0847-a71! a-eec2-e561-2d39dc26127a@enterprisedb.com> <4028905.1616122655@sss.pgh.pa.us> From: Tomas Vondra Message-ID: <19bc3276-6280-43bd-d868-ab3cb146266a@enterprisedb.com> Date: Fri, 19 Mar 2021 04:07:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <4028905.1616122655@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/19/21 3:57 AM, Tom Lane wrote: > Tomas Vondra writes: >> So crake and florican seem to be happy now. Not sure about lapwing yet. >> But interestingly enough, prion and curculio got unhappy. They worked >> fine with the older test, but now it fails with the "no such file or >> directory" message. I wonder what makes them different from the other >> x86_64 machines ... > > I'm confused about why the new query would use a temp file at all. > Maybe they aren't using the same plan? > Because generate_series() stashes the results into a tuplestore, and the test sets work_mem to just 64kB. Maybe I'm missing some detail, though. The plan is extremely simple - just Function Scan feeding data into an Insert, not sure what other plan could be used. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company