pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: database design with temporary tables
Date: Sun, 29 Aug 2021 13:41:28 -0400
Message-ID: <ebb9eeb4-8815-65a9-c63e-3d38ff044116@gmail.com> (raw)
In-Reply-To: <0e9373c9-565c-5edb-5c71-b3ea40be9473@aklaver.com>
References: <IRuoNkHXtafj7Vm_RhI-AB56qHPVRSDRD95NmX9lxlsQvmsK361slJ4ONjoP0GvX8tNsyXUD5KF1TW21uJyh15BDdrQCDHFDvPXa1Nu-eVE=@protonmail.com>
	<0e9373c9-565c-5edb-5c71-b3ea40be9473@aklaver.com>


On 8/29/21 12:24 PM, Adrian Klaver wrote:
> Presumably not. Temporary tables only live at most for the length of a 
> session. It would be a really bad idea to hold sessions open for 24 
> hours. That is assuming nothing else causes the session to drop and 
> the data to be lost. 

Well, that's precisely how application servers work. The allocate 
connection pool and keep them open for a very long time.


-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com






view thread (16+ messages)  latest in thread

Message-ID: <ebb9eeb4-8815-65a9-c63e-3d38ff044116@gmail.com>
Permalink:  ../ebb9eeb4-8815-65a9-c63e-3d38ff044116@gmail.com/
Also on:    postgresql.org/message-id/ebb9eeb4-8815-65a9-c63e-3d38ff044116@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: gogala.mladen@gmail.com
  Subject: Re: database design with temporary tables
  In-Reply-To: <ebb9eeb4-8815-65a9-c63e-3d38ff044116@gmail.com>
  References: <IRuoNkHXtafj7Vm_RhI-AB56qHPVRSDRD95NmX9lxlsQvmsK361slJ4ONjoP0GvX8tNsyXUD5KF1TW21uJyh15BDdrQCDHFDvPXa1Nu-eVE=@protonmail.com> <0e9373c9-565c-5edb-5c71-b3ea40be9473@aklaver.com> <ebb9eeb4-8815-65a9-c63e-3d38ff044116@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