Re: restrict global access to be readonly - Mailing list pgsql-hackers

From Andres Freund
Subject Re: restrict global access to be readonly
Date
Msg-id 20150215162448.GD15326@awork2.anarazel.de
Whole thread Raw
In response to Re: restrict global access to be readonly  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 2015-02-14 17:28:38 -0600, Jim Nasby wrote:
> Throw an error in AssignTransactionId/GetNewTransactionId? I see 4 calls to
> Get*TransactionId in logical replication, though arguably if we're fixing
> that we should look at doing something special for Slony and the
> likes.

I don't think there are any xid assignments in the logical decoding
code. There's a couple error checks erroring out if an xid has been
assigned, but those use GetTopTransactionIdIfAny(), i.e. don't assign an
id.

Greetings,

Andres Freund

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



pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: restrict global access to be readonly
Next
From: Magnus Hagander
Date:
Subject: Re: New CF app deployment