Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1v29-00043W-NS for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Mar 2019 15:34:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1v28-0006gF-3y for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Mar 2019 15:34:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1v27-0006dd-Nq for pgsql-hackers@lists.postgresql.org; Thu, 07 Mar 2019 15:34:07 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1v20-00061l-Cv for pgsql-hackers@postgresql.org; Thu, 07 Mar 2019 15:34:06 +0000 Received: by mail-pg1-x544.google.com with SMTP id 196so11540195pgf.13 for ; Thu, 07 Mar 2019 07:34:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=wMzkNh3PfY/oxuJx1RFGb/sAuZ4eRyA9h96CW3gICfo=; b=rLVC4CApdX2nt3dTdV2M7nhMsdHfjFKS6z7Mj7s6aCzw7QsUD4BYv+LkPy4A1ekRaG bFMtME56cMqF88GlJ4+9VKTQkxY47cQvuV11PJeeFKBVvgiLcVw0daQ7Ljj23L18E4bN PyoGZDfioPc0YhVRAzIn+sL2avpnR+lNXi7kziLHUIxhdrdMm44oSiHs1yEvG+4QHz9b MGatn3z7uIfToHgzypFQwZQjS5sjXo3C3PQ0vohZKzyI4nA+PEZm6KPXy+e8XgwveDdl GrGf+JGmLmht4vPHUMN2rkUv/J6RmNtR2I7tHjOtP0+WGZmiQLm0cYlNpHTDpGzrJogX haOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=wMzkNh3PfY/oxuJx1RFGb/sAuZ4eRyA9h96CW3gICfo=; b=ACoW6jeZZ0fi5msGoXty3kltq7GCl4cVDlBR3h+JXny1j+tpXLzLKJi7urpx0BQfXl yPJJHAzwPDFXorJpADp6W3dc58B0wxOhufYkUXf9c3txKJCttVI3kCGHTnv1dd3tg2lZ sFHTg2RTaab/QB3Dkqs9HHHUh4RRdGapPemPpMdLoOl7bKXADF/p52bK9ZhuWkyzGBJj 4JUXrb5C1QiLVV8iE8r3IP9okqp0RYl9/IQFHENm2adcyyGJX++qwwwPsgtcinR9V18R eJCkI+BjCH4jWL/VinAaONx4PJnuFkBqDVKgWLuoESmvgihv0LyiKRjB22bE+2Ru3Ig7 GlLQ== X-Gm-Message-State: APjAAAWTKLOokAX4W3kMTLncVh9dxdsqhN4Z98Z5mVEtliP2alqLseyB yoGxRi8RssYGA1MjVC677Mn9mSPNyUJSqWB5LXFEYX6/OJi2bodQfg33aXrNNLK4poHJ76vDJLp 8V5iKQXmfa5i9lRSajB2rMWlva4vGQkVOWnseJojabZ5VQTKYotvgHpbBesj76M48oRJp9IpIgv 1TIV68PW12cw== X-Google-Smtp-Source: APXvYqxJUql3cvL8u8n9qtfOUabGw+o6aCYn+PU7k8tpVLhhFAWWprACXfDjcPm76pQn3NGka7L33w== X-Received: by 2002:a17:902:9a88:: with SMTP id w8mr13549849plp.8.1551972838672; Thu, 07 Mar 2019 07:33:58 -0800 (PST) Received: from localhost.localdomain ([114.143.109.178]) by smtp.gmail.com with ESMTPSA id x23sm21057274pfe.0.2019.03.07.07.33.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 07:33:57 -0800 (PST) Subject: Re: Minimal logical decoding on standbys To: Andres Freund Cc: Petr Jelinek , Robert Haas , Craig Ringer , Petr Jelinek , pgsql-hackers@postgresql.org References: <20181212204154.nsxf3gzqv3gesl32@alap3.anarazel.de> <7e905539-7fdc-6b29-5a56-ba48d180fef8@2ndquadrant.com> <20190301174628.rjzoi7arvci5ldcm@alap3.anarazel.de> <20190304172739.hdkwmtngwx5444un@alap3.anarazel.de> From: tushar Message-ID: <9fce660d-47fc-4294-3084-3769e543da8a@enterprisedb.com> Date: Thu, 7 Mar 2019 21:03:51 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20190304172739.hdkwmtngwx5444un@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk There is an another issue , where i am getting error while executing "pg_logical_slot_get_changes" on SLAVE Master (running on port=5432) -  run "make installcheck"  after setting  PATH= Hi, > > On 2019-03-04 16:54:32 +0530, tushar wrote: >> On 03/01/2019 11:16 PM, Andres Freund wrote: >>> So, if I understand correctly you do*not* have a phyiscal replication >>> slot for this standby? For the feature to work reliably that needs to >>> exist, and you need to have hot_standby_feedback enabled. Does having >>> that fix the issue? >> Ok, This time around  - I performed like this - >> >> .)Master cluster (set wal_level=logical and hot_standby_feedback=on in >> postgresql.conf) , start the server and create a physical replication slot > Note that hot_standby_feedback=on needs to be set on a standby, not on > the primary (although it doesn't do any harm there). > > Thanks, > > Andres > -- regards,tushar EnterpriseDB https://www.enterprisedb.com/ The Enterprise PostgreSQL Company