Re: Calling PrepareTempTablespaces in BufFileCreateTemp

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ashwin Agrawal <aagrawal(at)pivotal(dot)io>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <pg(at)bowt(dot)ie>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Calling PrepareTempTablespaces in BufFileCreateTemp
Date: 2019-04-26 06:54:46
Message-ID: 20190426065446.GF1904@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 25, 2019 at 10:40:01AM -0700, Ashwin Agrawal wrote:
> Is there (easy) way to assert for that assumption? If yes, then can add the
> same and make it not rickety.

IsTransactionState() would be enough?
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2019-04-26 08:29:56 Re: Regression test PANICs with master-standby setup on same machine
Previous Message Michael Paquier 2019-04-26 06:53:30 Re: Calling PrepareTempTablespaces in BufFileCreateTemp