On Dec 19, 2013 12:06 AM, "Andres Freund" <andres(at)2ndquadrant(dot)com> wrote:
>
> Hi Magnus,
>
> It looks to me like the path to do_pg_start_backup() outside of a
> transaction context comes from your initial commit of the base backup
> facility.
> The problem is that you're not allowed to do anything leading to a
> syscache/catcache lookup in those contexts.
I think that may have come with the addition of the replication privilege
actually but that doesn't change the fact that yes, it appears broken..
/Magnus