Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0ZI3-0004Jj-4R for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Mar 2018 21:04:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f0ZI1-00058m-Rz for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Mar 2018 21:04:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0ZI1-00058d-BY for pgsql-bugs@lists.postgresql.org; Mon, 26 Mar 2018 21:04:25 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0ZHy-00019b-2k for pgsql-bugs@lists.postgresql.org; Mon, 26 Mar 2018 21:04:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 7B4CA14EA; Mon, 26 Mar 2018 17:04:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 26 Mar 2018 17:04:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mvGcT5r6GYGLDTBsP DPIX4dc6Ze30gGbUWNQ+Zwdzco=; b=U3L0ymAPcZDCoEFV+ThZPPSDZEVNWGvGz h5EerOdz7bj4lBlzhRi3oott5YZXAWA8DPIkCNjeaw0GEg36+ny89oO512VFMl3C IpazPQj41RGIaq7/oeTryro30MSBjzTdC2TDE3VcsJTtPa1iPktVBm4K0K5AnDpu DYzEpk40HHJuU+cSxBN1u/MFhT65QbhJz4goatcKFxLBpMNcbG8CSNOTXtDKyT0S jhAgpS3O0y6fqwfTo75O0vG/OFFc3NH1ypZyr86ydWUltRQlsIC/DeD1y9s8ayrM qCAdRexwZkEB7/s4x3LxF3quM9EHaFIstUjZS7+dwDWzvqUr+2VQg== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id D384E10262; Mon, 26 Mar 2018 17:04:19 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7523A71B; Mon, 26 Mar 2018 18:04:17 -0300 (-03) Date: Mon, 26 Mar 2018 18:04:17 -0300 From: Alvaro Herrera To: =?utf-8?B?0J/QtdGC0YrRgCDQodC70LDQstC+0LI=?= Cc: Andres Freund , Petr Jelinek , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15114: logical decoding Segmentation fault Message-ID: <20180326210417.kcpqya77x74ntawf@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Петър Славов wrote: > Hi Andres, > > > Alvaro, Petr: If I understand correctly what happens here is that some > > *other* column than the replica identity has a predicate with a full > > blown SQL function. We shouldn't evaluate arbitrary code like that > > inside the otuput plugin! > > Not sure what you mean here, but in my case the replica identity is a > regular integer primary key, without any functions as predicates in the > index or anything else. > > ... or my schema is not the problem at all in this case ? Andres is saying that you have some other index that contains a predicate. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services