Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eg2Wn-0007w7-1Q for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 06:02:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eg2Wl-0003Jg-LA for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 06:02:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eg2Wl-0003JW-7B for pgsql-general@lists.postgresql.org; Mon, 29 Jan 2018 06:02:47 +0000 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eg2Wi-0005vk-98 for pgsql-general@postgresql.org; Mon, 29 Jan 2018 06:02:45 +0000 Received: by mail-it0-x235.google.com with SMTP id p139so6882690itb.1 for ; Sun, 28 Jan 2018 22:02:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wc2qvQB829SXZuoqjRwrOuK4a31+cgTfFUZaFNyMSqw=; b=K58jAxRXsz4OIumcqHnC5ruEl5R034I0X/9euZuf4IfVAI7LNv8gdP2xB5sQfyzIJR IfxfUhNUwTT5Sp2h4bpawUFXyQAHTjCfpi2CRxru5UbMfehVzez++YaDDpHlq8IX694s sP8dlX3ZQEfIf80LDhzwDeAvZWqeJ/zNQo1Sd/i8x6zUNzle4+o+YjmzRmNcRWvCCZl8 kGf/JeyUEY237MrCcmuE2vDKho4HP2OsJ1I+WDEU4gwOqX5Cls2aBVFmg2t71gRVtZdU CE+y/9jM9O8qv2rFGiaCGJXwzHRHl/avSZiAm3MpT5O0UFhKnQxy2DIvm+LzmfqZSgpG NH+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wc2qvQB829SXZuoqjRwrOuK4a31+cgTfFUZaFNyMSqw=; b=hhsW2quRiprCvUZFCNfJjn4MktQnO6bdPYua/YELJoy8AOlOXoWqv9HZCRo8K+0NC3 k1PwDHA7Pa4McLD/4JxsRsMyX0k5NxiQ5Pubcvm7pMhEikHCmmVVNnKSkxgAi5UVdmUr BC89S+EsUZfqQJ3zkOu08IUAlHFS2XZvZV2IUON+pecyH8qXNoDvUSY4kLPJ3Ok6Z1P/ RZixjv7lcbbrI8JyXVNl7+FZEvBneEZHUcwRm0jtgi/y1eIGR43Zhbaqt16y3AypApbM EDClSTQWk1DbTgToy2alKQyvyc5aR0qvC8VulXr91dfg4DZF3Ftl2bS5cukXg40NNKgP slXw== X-Gm-Message-State: AKwxytffYtwZSKCac2FsZmEfYXXjU/h+zSJkRAyvq9L7TJhDBMTLnpJX K/wi4MwAeb8L8Qc0WsDxsJu8d710 X-Google-Smtp-Source: AH8x225t1JlyomkKgzFqMoNpat7LtunD8iVsD0hRqeB/VTK0PINW3uJ+tgZADgfo1mp01k33drPtpA== X-Received: by 10.36.72.5 with SMTP id p5mr25140108ita.70.1517205762078; Sun, 28 Jan 2018 22:02:42 -0800 (PST) Received: from ?IPv6:2601:681:5500:1e3c:5196:ea04:e957:d362? ([2601:681:5500:1e3c:5196:ea04:e957:d362]) by smtp.gmail.com with ESMTPSA id a69sm5491628itc.18.2018.01.28.22.02.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 22:02:41 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-DFD7B526-920F-4C42-9FCE-F8E13E527560 Mime-Version: 1.0 (1.0) Subject: Re: Downsides of liberally using CREATE TEMP TABLE ... ON COMMIT DROP From: Rob Sargent X-Mailer: iPhone Mail (15C202) In-Reply-To: Date: Sun, 28 Jan 2018 23:02:40 -0700 Cc: Andy Colson , Ryan Murphy , "pgsql-general@postgresql.org" Content-Transfer-Encoding: 7bit Message-Id: <130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com> References: To: "David G. Johnston" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail-DFD7B526-920F-4C42-9FCE-F8E13E527560 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I think the table is dropped by end of function > On Jan 28, 2018, at 2:45 PM, David G. Johnston wrote: >=20 >> On Sunday, January 28, 2018, Rob Sargent wrote: >> The commit in question is the function btw. >=20 > That doesn't make sense - functions can't commit. >=20 > David J. --Apple-Mail-DFD7B526-920F-4C42-9FCE-F8E13E527560 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
I think the table is dropped by end of function

On Jan 28, 2018, at 2:45 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:

On Sunday, January 28, 2018, Rob Sargent <robjsargent@gmail.com> wrote:
The commit in question is the function btw.

That doesn't make sense - functions can't commit.

David J.
--Apple-Mail-DFD7B526-920F-4C42-9FCE-F8E13E527560--