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 1ioCAC-0000hp-CU for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jan 2020 20:06:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ioCA9-00044Y-Aq for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jan 2020 20:06:13 +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 1ioCA9-00044R-1u for pgsql-hackers@lists.postgresql.org; Sun, 05 Jan 2020 20:06:13 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ioCA4-0003ND-IY for pgsql-hackers@postgresql.org; Sun, 05 Jan 2020 20:06:12 +0000 Received: by mail-wm1-x343.google.com with SMTP id p9so13011050wmc.2 for ; Sun, 05 Jan 2020 12:06:08 -0800 (PST) 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:references:mime-version :content-disposition:in-reply-to; bh=R1bTO3irDGpBv3cxkLYMTku1r15GKRcVfZJR/3V58yg=; b=EWTyBb2dPnsi64dGBFqJz+eXKOUNU69vvkcFlVuPXIzhIv/lx6u22gjrMKPHjTINFY IWVeqUv7yP0xAihPEaWXztaJyYcD/CvKOLsakBLaF/pBIred7dCiv4gsH9II0qmJhVYO HlqoKdnkDa5g10Ikio/rLDFaDufWka1ngLFP9yEohL+JoUlsQJCY4ZvBbUaqVUndtc0f p+17EmKt8VhcJNuj5kRwDk6l8hE50U/N9Bo4BEdJfeg0F1n7igpokBjtSfQtyk6BeS5e g51PtBd7MZUbPZYsGFcpF4z00CGq5J9/24nk2Nos4fW9Kwf3pTYMyQjmKkXg09nS3pNP 4VzA== 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:references :mime-version:content-disposition:in-reply-to; bh=R1bTO3irDGpBv3cxkLYMTku1r15GKRcVfZJR/3V58yg=; b=NEUKX5inBNCxndAbMHWhxOwgs+yoHTZ8lk85GrdLyHGR0WKO8m1n/b/FjFoumg1WdZ kmelIN1xmDU0i49z7s7wQB1FrocU2wEH5/ELGdQz5h0zc7I9so4WXCxyQaELq6GA7+8Z cHGMQJt/wjdR67veiCNt88YDFfWIjxrtH1ktI15RWYQHN0KsfMdOujPgnHsFN1NebdSh Ya/AsXCjurTBMjUKouYfkBLH1cOuf2g+qBrPRuFEqShcOsSaT63l86ubo9RCPp2/EeVl 8eUwGG81Wxhd0HzofKH2d8cPpZyeroyxmPGwU6c4swxv/CZW392oZDallOi5NVhoViKT qwHA== X-Gm-Message-State: APjAAAXr6oZ7YHeaxO54vl72jUHtXwyc6giqHlGVuHn42PTkFPIXzC+S Zj6CIizVrRrl3UMzbWG5r0sZ/A== X-Google-Smtp-Source: APXvYqy1Mtj73mDBHKi+jR2/6ZbtZw5XMJ4dxpF2QqGgQJUqAqhy0zwUtLuSXSnoe+erXVlxrYFquQ== X-Received: by 2002:a1c:cc06:: with SMTP id h6mr28910811wmb.118.1578254766358; Sun, 05 Jan 2020 12:06:06 -0800 (PST) Received: from localhost (ip-86-49-253-92.net.upcbroadband.cz. [86.49.253.92]) by smtp.gmail.com with ESMTPSA id q3sm19937736wmj.38.2020.01.05.12.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2020 12:06:05 -0800 (PST) Date: Sun, 5 Jan 2020 21:06:03 +0100 From: Tomas Vondra To: Konstantin Knizhnik Cc: =?utf-8?B?5pu+5paH5peMKOS5ieS7jik=?= , Pavel Stehule , Robert Haas , PostgreSQL Hackers , =?utf-8?B?6JSh5p2+6ZyyKOWtkOWYiSk=?= , "Cai, Le" , =?utf-8?B?6JCn5bCR6IGqKOmTgeW6tSk=?= Subject: Re: [Proposal] Global temporary tables Message-ID: <20200105200603.wrb4beacwb57hhpk@development> References: <1A1A6EDC-D0EC-47B0-BD21-C2ACBAEA65E4@alibaba-inc.com> <0ef6f482-11ce-a99f-207e-26fa3f2f56db@postgrespro.ru> <24099f4e-742c-e92b-729c-77bac1ca80d4@postgrespro.ru> <80cf30c2-ebd5-a568-9f62-a970e4d91326@postgrespro.ru> <5767433E-1A77-4682-B3FD-4869911021C8@alibaba-inc.com> <6b7570aa-14ea-2f28-c3b5-74dd785bbafe@postgrespro.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <6b7570aa-14ea-2f28-c3b5-74dd785bbafe@postgrespro.ru> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I think we need to do something with having two patches aiming to add global temporary tables: [1] https://commitfest.postgresql.org/26/2349/ [2] https://commitfest.postgresql.org/26/2233/ As a reviewer I have no idea which of the threads to look at - certainly not without reading both threads, which I doubt anyone will really do. The reviews and discussions are somewhat intermixed between those two threads, which makes it even more confusing. I think we should agree on a minimal patch combining the necessary/good bits from the various patches, and terminate one of the threads (i.e. mark it as rejected or RWF). And we need to do that now, otherwise there's about 0% chance of getting this into v13. In general, I agree with the sentiment Rober expressed in [1] - the patch needs to be as small as possible, not adding "nice to have" features (like support for parallel queries - I very much doubt just using shared instead of local buffers is enough to make it work.) regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services