Re: fun fact about temp tables

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: fun fact about temp tables
Date: 2016-08-05 16:18:14
Message-ID: 20160805161814.GM18305@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 05, 2016 at 06:02:08PM +0300, Grigory Smolkin wrote:
> But it`s temporary table so it`s equal to saying 'I don`t care about this
> data' and I can get 'out of disk space' regardless of using temporary
> tables.
>
> What are we winning here?

Surely, that the transaction operates in a predictable way? A temp
table doesn't say, "I don't care about this data," it says, "I don't
care about this data over the long haul." I've had lots of data go
through temp tables that I really really wanted to get into some other
place later, and it'd suck if the transaction failed half way through
because it turns out there's nowhere to put the data I've just staged.

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grigory Smolkin 2016-08-05 16:52:59 Re: fun fact about temp tables
Previous Message Grigory Smolkin 2016-08-05 15:59:27 Re: fun fact about temp tables