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 1gWJo2-0007Bp-JK for pgsql-general@arkaria.postgresql.org; Mon, 10 Dec 2018 11:32:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gWJn1-0002ky-JW for pgsql-general@arkaria.postgresql.org; Mon, 10 Dec 2018 11:31:55 +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 1gWJn1-0002gK-Bh for pgsql-general@lists.postgresql.org; Mon, 10 Dec 2018 11:31:55 +0000 Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2] helo=mx2.mailbox.org) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWJmq-0007cs-Hs for pgsql-general@lists.postgresql.org; Mon, 10 Dec 2018 11:31:54 +0000 Received: from smtp1.mailbox.org (unknown [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 40568A1477; Mon, 10 Dec 2018 12:31:41 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id srWQm313Ta5l; Mon, 10 Dec 2018 12:31:39 +0100 (CET) Message-ID: <79464258a4fe27fc3e8a80566b5646a079da675c.camel@cybertec.at> Subject: Re: Temp tables From: Laurenz Albe To: "David G. Johnston" , bhargav kamineni Cc: "pgsql-general@lists.postgresql.org" Date: Mon, 10 Dec 2018 12:31:37 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David G. Johnston wrote: > > and what happens to this data after completion of the transaction ? > > > > Your choice. See “on conflict” clause of create temp table command. You mean the ON COMMIT clause. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com