Re: [HACKERS] logical decoding of two-phase transactions - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: [HACKERS] logical decoding of two-phase transactions
Date
Msg-id 87ab8e6e-ae35-154d-e3b5-3d8c83ea1eff@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] logical decoding of two-phase transactions  (Nikhil Sontakke <nikhils@2ndquadrant.com>)
Responses Re: [HACKERS] logical decoding of two-phase transactions
List pgsql-hackers
On 01/08/18 16:00, Nikhil Sontakke wrote:
> 
>> I was wondering if anything else would be needed for user-defined
>> catalog tables..
>>
> 
> We don't need to do anything else for user-defined catalog tables
> since they will also get accessed via the systable_* scan APIs.
> 

They can be, but currently they might not be. So this requires at least
big fat warning in docs and description on how to access user catalogs
from plugins correctly (ie to always use systable_* API on them). It
would be nice if we could check for it in Assert builds at least.

-- 
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Alter index rename concurrently to
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions