Re: Prepare Transaction support for ON COMMIT DROP temporary tables

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Dimitri Fontaine <dimitri(at)citusdata(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Prepare Transaction support for ON COMMIT DROP temporary tables
Date: 2018-12-28 18:06:16
Message-ID: 201812281806.zcl3acltfly5@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Dimitri

On 2018-Dec-28, Dimitri Fontaine wrote:

> Please find attached a patch to enable support for temporary tables in
> prepared transactions when ON COMMIT DROP has been specified.

Glad to see you submitting patches again.

I suggest to add in your regression tests a case where the prepared
transaction commits, and ensuring that the temp table is gone from
catalogs.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2018-12-28 18:33:08 Re: [Patch] Create a new session in postmaster by calling setsid()
Previous Message Heikki Linnakangas 2018-12-28 18:04:37 Re: Making all nbtree entries unique by having heap TIDs participate in comparisons