Re: Calling PrepareTempTablespaces in BufFileCreateTemp - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Calling PrepareTempTablespaces in BufFileCreateTemp
Date
Msg-id 20190426065446.GF1904@paquier.xyz
Whole thread Raw
In response to Re: Calling PrepareTempTablespaces in BufFileCreateTemp  (Ashwin Agrawal <aagrawal@pivotal.io>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Calling PrepareTempTablespaces in BufFileCreateTemp
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Regression test PANICs with master-standby setup on samemachine