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 1jiQIn-00021s-Cl for pgsql-general@arkaria.postgresql.org; Mon, 08 Jun 2020 22:31:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jiQIm-0001vb-1W for pgsql-general@arkaria.postgresql.org; Mon, 08 Jun 2020 22:31:32 +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 1jiQIl-0001vU-Pg for pgsql-general@lists.postgresql.org; Mon, 08 Jun 2020 22:31:31 +0000 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jiQIj-0006dc-Md for pgsql-general@lists.postgresql.org; Mon, 08 Jun 2020 22:31:30 +0000 Received: by mail-oi1-x22f.google.com with SMTP id p70so16858143oic.12 for ; Mon, 08 Jun 2020 15:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=eYheHFjQnByYxP+3oG5gm/61l0lj0VTN3SORVg2TN+8=; b=TrE/Y8r7sipEvdg6eKMLo48CV7QWuxaL69Ayv4UuSaU6vcTENogX1V9rfkmCL5+Raw 0YPuxwzyCDZCSOiKegL73xXLzDcuPKelSYu/x+4nqx7t+CxfAM8FUuq/+7rw16dJn2Qp caHv5PC09aL7cjvi386wKYTmHRmHtiw6Ssi29NU0L/0+Wl6eCfos/BzUQgoPB/2wk31i qEVrLGR41AaC3g7xXmi125azRB6Q8rc/XcMGED3XzJFL0oTFWWXJ6JFXFE8Gf/8fjoNh lPU68eNCq4p8norSICPgBQPSqSCGz+LFv9lsEkrHcL5lo3cvgkWMzafikHRGKSs/fQ+P N3SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=eYheHFjQnByYxP+3oG5gm/61l0lj0VTN3SORVg2TN+8=; b=OODGmeSGQy5uCG5u10E6FLInsNQ8oN59RyX+gsMqHF8BL8zbSICi7RVpeLHzEAGvyN dCAWtfwBOVSofJz4NVkeQ18/ZdIuBYpPx2IOj0v1H/+mtfojJ/8iAzL83t6wCAzCQggt lR4uu6VBMJkVBGZ8GEH//kd1iuZurrTO6Il36kioKvokdkaRBXgRcubEqZjT0bk3PBRM HBTZ6UNGa6ID8sndcXNW0K2puKMVSsqcusE1hGyycCC6kmEfmAkOmBpfZUwTs2YM6zdE 9kJw80VTNYtdOaKuA+U1Mnhk1k5KWYlpO2r46dRkSXHhrjdXrb+0X0gbXAwPoK3xoLhm cwzg== X-Gm-Message-State: AOAM532s8ZcnCB8tWs3owLAMAyY64nVjWYpI/hrzOQ1BKAGeg9oAA/XV PvaH0vdC3xBh5phQHYweAJ84zpLwOUzFuQ== X-Google-Smtp-Source: ABdhPJwRSSg+OAcsBlO3MGycTZcYBReWVnmJMiAlb3LlrqzPI33XmbJiW4ZXRrQv4asEHM28BVwkmw== X-Received: by 2002:aca:ebc5:: with SMTP id j188mr1300762oih.70.1591655488866; Mon, 08 Jun 2020 15:31:28 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id i4sm2764475oia.46.2020.06.08.15.31.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jun 2020 15:31:27 -0700 (PDT) Subject: Re: Concurrenctly running CREATE TEMP TABLE IF NOT EXISTS [...] AS [...] To: pgsql-general@lists.postgresql.org References: <1102807465.20200608101409@am-soft.de> <5fd32bf1-164c-742f-9e46-7c9cc547a0e1@gmail.com> <1451529478.20200608162319@am-soft.de> From: Ron Message-ID: Date: Mon, 8 Jun 2020 17:31:26 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1451529478.20200608162319@am-soft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/8/20 9:23 AM, Thorsten Schöning wrote: > Guten Tag Ron, > am Montag, 8. Juni 2020 um 15:35 schrieben Sie: > >> Would a set of GLOBAL temporary tables be a better fit for your problem >> (eliminating the need to create temporary tables each time)? > Do you mean plain tables simply created using CREATE TABLE or is there > some additional concept of temporary tables I'm not aware of? Because I > thought truly temporary tables are always session-specific: Hmm...  Postgres doesn't support global temporary tables.  Never mind. :) -- Angular momentum makes the world go 'round.