pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Andy Colson <andy@squeakycode.net>
Cc: Ryan Murphy <ryanfmurphy@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Downsides of liberally using CREATE TEMP TABLE ... ON COMMIT DROP
Date: Sun, 28 Jan 2018 23:02:40 -0700
Message-ID: <130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com> (raw)
In-Reply-To: <CAKFQuwakSzOiejcLqTdFO_sUizF7LYguWO=r3RWN7zDC=hGBbg@mail.gmail.com>
References: <CAHeEsBd5LJfHDkawj9VHfhbtMkrQ-npFw8pyVg2T7mv4=7nkzw@mail.gmail.com>
	<CAKFQuwbu-cO8kC6LhFXmuPYMH+3UNXBHNT0YHOV6L6v-RvYxdQ@mail.gmail.com>
	<CAHeEsBfRXy15hQVUi_3BP=6mjr46pc+SDwvxpGn5So3_wheZJQ@mail.gmail.com>
	<e011c9de-4239-0205-3c6e-94b60d20a057@squeakycode.net>
	<EAE90B70-970D-491A-A82A-971E50A1DF5D@gmail.com>
	<CAKFQuwakSzOiejcLqTdFO_sUizF7LYguWO=r3RWN7zDC=hGBbg@mail.gmail.com>

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.

view thread (7+ messages)

Message-ID: <130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com>
Permalink:  ../130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com/
Also on:    postgresql.org/message-id/130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, david.g.johnston@gmail.com, andy@squeakycode.net, ryanfmurphy@gmail.com
  Subject: Re: Downsides of liberally using CREATE TEMP TABLE ... ON COMMIT DROP
  In-Reply-To: <130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com>
  References: <CAHeEsBd5LJfHDkawj9VHfhbtMkrQ-npFw8pyVg2T7mv4=7nkzw@mail.gmail.com> <CAKFQuwbu-cO8kC6LhFXmuPYMH+3UNXBHNT0YHOV6L6v-RvYxdQ@mail.gmail.com> <CAHeEsBfRXy15hQVUi_3BP=6mjr46pc+SDwvxpGn5So3_wheZJQ@mail.gmail.com> <e011c9de-4239-0205-3c6e-94b60d20a057@squeakycode.net> <EAE90B70-970D-491A-A82A-971E50A1DF5D@gmail.com> <CAKFQuwakSzOiejcLqTdFO_sUizF7LYguWO=r3RWN7zDC=hGBbg@mail.gmail.com> <130628A4-A3E1-4CFC-A704-653A587B818B@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox