Re: pg_logical_slot_peek_changes crashes postgres when called from inside pl/pgsql

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Ben Chobot <bench@silentmedia.com>
Cc: pgsql-bugs@postgresql.org
Date: 2017-10-07T04:51:14Z
Lists: pgsql-bugs
On 2017-10-06 21:47:08 -0700, Ben Chobot wrote:
> > On Oct 6, 2017, at 9:43 PM, Andres Freund <andres@anarazel.de> 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? :)


Commits

  1. Fix crash when logical decoding is invoked from a PL function.