Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0h56-00024E-IV for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Oct 2017 04:51:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e0h56-0003Wj-5W for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Oct 2017 04:51:20 +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_2) (envelope-from ) id 1e0h55-0003Wa-S5 for pgsql-bugs@postgresql.org; Sat, 07 Oct 2017 04:51:19 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0h53-0001CC-0x for pgsql-bugs@postgresql.org; Sat, 07 Oct 2017 04:51:19 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C14A220DED; Sat, 7 Oct 2017 00:51:15 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 07 Oct 2017 00:51:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=pmX9HMqslrcVOEhqQ2 NXyeaGDz3xi3u9xRBEDqzdSNM=; b=TvxzB85RrAQ3uq4I/Ropf9KMcWww9g4ndE E84lDs3XqcOp7F9vlEbYrEuPvxIlypogNEAeTpuLG9Z6NAN4gsPPAAGDiIRHGmO8 V7sBNB/tT0uT1Lo6nr4hQbHzsjJgpuXPWncqm6LiosMLJPFnClYrO/3RSRtnGP/F JeGEF7mjzMadKxK20qQRP4MSjbzrXBaOhg3JApCmrQe8bMxAAiukONGtP/MyXENh 1jsN3eEC20cAXXM9ONJgE7ZbnJL3olIE2YMytMiqxnJXmoTlj713MqtMxYWX3Zmi G+tWt080Vinlpj0Z8ST/mJbuvzDy7MoqlRdjIVzFTjTr2USsTWKA== X-ME-Sender: X-Sasl-enc: HEKrRIDNw9TjoVx3/KgzW3ag5ysZwAzucFn6UeZT+DFH 1507351875 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 8277D247A7; Sat, 7 Oct 2017 00:51:15 -0400 (EDT) Date: Fri, 6 Oct 2017 21:51:14 -0700 From: Andres Freund To: Ben Chobot Cc: pgsql-bugs@postgresql.org Subject: Re: pg_logical_slot_peek_changes crashes postgres when called from inside pl/pgsql Message-ID: <20171007045114.l7xtnuvk2il3bd5x@alap3.anarazel.de> References: <73FBA179-C68C-4540-9473-71E865408B15@silentmedia.com> <20171007043130.zronedebya6iwtum@alap3.anarazel.de> <4367C2EE-ECE5-40C5-9EB6-C5375CB8D24E@silentmedia.com> <20171007044348.gyduzqmyxrxxufa7@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On 2017-10-06 21:47:08 -0700, Ben Chobot wrote: > > On Oct 6, 2017, at 9:43 PM, Andres Freund wrote: > > Why don't you just look at pg_replication_slots.confirmed_flush_lsn? > > Because I don't seem to have that in 9.5? :) Isn't that release, like, from 1997? :) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs