Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1acOGx-0000wu-9g for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Mar 2016 02:18:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acOGw-00014z-Sf for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Mar 2016 02:18:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acOGw-00014L-2n for pgsql-bugs@postgresql.org; Sun, 06 Mar 2016 02:18:18 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acOGt-0004uN-0c for pgsql-bugs@postgresql.org; Sun, 06 Mar 2016 02:18:17 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B519B20327 for ; Sat, 5 Mar 2016 21:18:12 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 05 Mar 2016 21:18:12 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=jT5bL7HJHn2rWZE iH2CZ3R/B8G4=; b=k6IE+xP8FrIwCSLOxYCpf+oTCJZMwYs9mPfkpB3sYb59ZkM JQ/mFlaOlD3qDpPvxCaGEStgXzlC92QHVPTKzkaqWRxi3ng11j/JPCnWXI/fYqus PAEKnlaJ17uuW2fH/dAfFa0Vi5w2tZhM05JmEPKz3M37evwE9TmcRMlhDk/0= X-Sasl-enc: m/OkDy2GysI5f/S4BQuHurMGNPC33JwRb7H+BF/f+FRL 1457230692 Received: from intern.anarazel.de (c-73-158-95-199.hsd1.ca.comcast.net [73.158.95.199]) by mail.messagingengine.com (Postfix) with ESMTPA id 66A8C68024E; Sat, 5 Mar 2016 21:18:12 -0500 (EST) Date: Sat, 5 Mar 2016 18:18:11 -0800 From: Andres Freund To: Adam =?utf-8?Q?Dratwi=C5=84ski?= Cc: pgsql-bugs@postgresql.org, Krzysiek Kotlarski Subject: Re: Long text values destroys logical replication slots Message-ID: <20160306021811.n73abbpuu4rqeviu@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi Adam, On 2015-10-28 19:51:18 +0100, Adam DratwiƄski wrote: > I recently encountered a bug on my production postgres which results in > killing replication slot. It happens when there is an UPDATE statement > called on a record having text column with a very long value (about 1mb). > The problem can be easily reproduced by this query: > > https://gist.github.com/adwinsky/f7a6dc4382776fb9ea60 > > Here I am using decoderbufs decoder https://github.com/krzychk/decoderbufs > but it doesn't seems to be related with this plugin as it also happen on > the postgres test decoder. I pushed a fix for this; it'll be included in the next maintenance releases which are coming up soon-ish. Sorry that it took so long. Thanks for the report! Regards, Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs