Re: Prepare Transaction support for ON COMMIT DROP temporary tables - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Prepare Transaction support for ON COMMIT DROP temporary tables
Date
Msg-id 201812281806.zcl3acltfly5@alvherre.pgsql
Whole thread Raw
In response to Prepare Transaction support for ON COMMIT DROP temporary tables  (Dimitri Fontaine <dimitri@citusdata.com>)
Responses Re: Prepare Transaction support for ON COMMIT DROP temporary tables
List 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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Making all nbtree entries unique by having heap TIDs participatein comparisons
Next
From: Heikki Linnakangas
Date:
Subject: Re: [Patch] Create a new session in postmaster by calling setsid()