Re: Time based lag tracking for logical replication

From: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
To: Neha Khatri <nehakhatri5(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Noah Misch <noah(at)leadboat(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Subject: Re: Time based lag tracking for logical replication
Date: 2017-05-12 14:04:31
Message-ID: 19aa2d1a-7d58-5c75-7525-6f30619e1650@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/05/17 15:09, Neha Khatri wrote:
> On Fri, May 12, 2017 at 8:19 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>>
>> On 11 May 2017 at 18:29, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>>> On 11 May 2017 at 18:13, Andres Freund <andres(at)anarazel(dot)de> wrote:
>>>
>>>>> New patch, v3.
>>>>>
>>>>> Applying in 90 minutes, barring objections.
>>>>
>>>> Could you please wait till tomorrow? I've bigger pending fixes for related code pending/being tested that I plan to push today. I'd also like to take a look before...
>>>
>>> Sure.
>>
>> The changes I've added are very minor, so I'm not expecting debate.
>> The main part of the patch is the same as Petr posted 19days ago.
>>
>> I'm travelling now, so after waiting till tomorrow as you requested I
>> have committed the patch.
>>
>
> Prior to this commit CREATE SUBSCRIPTION used to work smoothly.
>
> After this commit 024711bb544645c8b1061e9f02b261e2e336981d I get
> following error while executing CREATE SUBSCRIPTION:
>
> CREATE SUBSCRIPTION sub1 CONNECTION 'dbname=postgres host=localhost
> user=neha port=5432' PUBLICATION mypub;
> NOTICE: synchronized table states
> ERROR: could not create replication slot "sub1": ERROR: could not
> load library "/home/neha/postgres/PGCurrentInstall/lib/pgoutput.so":
> /home/neha/postgres/PGCurrentInstall/lib/pgoutput.so: undefined
> symbol: OutputPluginUpdateProgress
>

Hmm, that sounds like partial rebuild/install (old postgres binary with
new pgoutput one).

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Beena Emerson 2017-05-12 14:04:57 Re: Adding support for Default partition in partitioning
Previous Message Neha Khatri 2017-05-12 13:58:26 Re: If subscription to foreign table valid ?