Re: pgsql: Respect permissions within logical replication. - Mailing list pgsql-committers

From Jeff Davis
Subject Re: pgsql: Respect permissions within logical replication.
Date
Msg-id d5bc9ade7b1e1d1a5af2501af34bee00c65ecb20.camel@j-davis.com
Whole thread Raw
In response to Re: pgsql: Respect permissions within logical replication.  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-committers
On Sat, 2022-01-08 at 11:56 +0530, Amit Kapila wrote:
> One possible reason for this failure could be that the test doesn't
> wait for the initial sync to complete after CREATE SUBSCRIPTION which
> can allow more than expected operations to be replicated. Also, the
> reason it passes in other machines is that in those runs initial sync
> could get finished before we start to publish other operations.

You're right, even though the initial table is empty. I copied some
code from a different test to wait for the sync, and it appears to be
succeeding now.

Thanks,
    Jeff Davis





pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make pg_get_expr() more bulletproof.
Next
From: Jeff Davis
Date:
Subject: Re: pgsql: Respect permissions within logical replication.