Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnoJV-0001cp-79 for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2019 18:06:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnoJR-00012J-TI for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2019 18:05:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnoFD-0001nv-Q9 for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2019 18:01:35 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnoFA-00045G-9M for pgsql-general@postgresql.org; Wed, 17 Jul 2019 18:01:35 +0000 Received: by mail-qk1-x741.google.com with SMTP id v22so18227840qkj.8 for ; Wed, 17 Jul 2019 11:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=SFP+W3dL0PfdIsxBp5+3EFtjwg3nkDa1E6CalUSpQXo=; b=iyHym6YHW5nQFqtRCqJLqI/ZFdQLhbYOFJSKMMfrVj9uJs3eD7QE2yhk6q1eyGhg71 erw62AFr4c1DhCYzFjESq9qXJocBLfY7TZ5+JSdu2Bw+Srn+yw1/K84WR4uo3okg52FZ l1TPoKVINSvxOkuGb0rnhMVv2IXufeHxJf47MdFda2chFhyMkWYepFrSPUY9ERNWPGv9 TVOuTs6mUyThXqITBc42W+Jf0SlRKiGwhriBOEZId3divVEbRtysYDELMExe/s7vqtQy v+GisrVtBQO8/oufchoFKCGEqWpToicle7rbeDkRhfBnFIV35fabSJLWRcQTwrMMgB4G 2d/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SFP+W3dL0PfdIsxBp5+3EFtjwg3nkDa1E6CalUSpQXo=; b=QnAxyyI8BHjks0vRCG9Yn5Iz/UrRczQOqetH6caxxvsZwxjc8mPFx/YjJpGUrjWF/P CG/Hbzs5xvxNIYXWKUvpEPDvvUm1gMnNflcPwfDFfUZMh7wuoOYCL8YSq4wrwefY5KUY VUmyuzeT2Uy0RSpr39/39rtSTi+kgq8RXXVcx2+r6qriD25zHxSnsC1YJIEc16qukhDQ cexFiRUE7LtSsvIANYFRaE2D5N42WK6L1AzJeBBpY+FqGzM0WMy58KcQeTZJvNFIJ27P R0dvvLZooKBzJwlKWz31biMeubbPruFtUaNwi05Nus68ntf2p84BaZcEs3KRnpqzV08n uVHA== X-Gm-Message-State: APjAAAWBDlx+vtGN8FkKl6JtLw5DfTWh4K+pzwCz5hTiNlhCiZ5g0KrP rYkdZBoFBaC6ZBILnIIOe99D5w== X-Google-Smtp-Source: APXvYqyWQqGZvveP2hBDaFLkaT2T4rK126r/CiLuKsa3+GrhN083TQnCr9VDG9dv8ng4o+bKIDCTSA== X-Received: by 2002:a37:274a:: with SMTP id n71mr25417121qkn.448.1563386490886; Wed, 17 Jul 2019 11:01:30 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([177.154.139.198]) by smtp.gmail.com with ESMTPSA id n3sm10559729qkk.54.2019.07.17.11.01.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 11:01:29 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 68BE71249D3; Tue, 16 Jul 2019 22:35:36 -0400 (-04) Date: Tue, 16 Jul 2019 22:35:36 -0400 From: Alvaro Herrera To: Ivan Voras Cc: "pgsql-general@postgresql.org >> PG-General Mailing List" Subject: Re: Why no CREATE TEMP MATERIALIZED VIEW ? Message-ID: <20190717023536.GA15750@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jul-16, Ivan Voras wrote: > Hello, > > Out of curiosity, since there's CREATE TEMP VIEW, any particular reason > there's no CREATE TEMP MATERIALIZED VIEW? Because it hasn't been implemented. There is a patch, but it's not done. See this thread: https://postgr.es/m/CAKLmikNoQR4ZNg_wt=-hU-uUxV2cXVdveeRsMFjr2SAopVxDxw@mail.gmail.com -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services