Re: Assertion failure in base backup code path

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Anton <antonin(dot)houska(at)gmail(dot)com>
Subject: Re: Assertion failure in base backup code path
Date: 2013-12-23 17:28:51
Message-ID: CABUevEyE8+XqgW92iPkF3oAo3J-LYuyd+oYTRzuG=9h_=hQpZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-12-23 17:34:29 Re: WITHIN GROUP patch
Previous Message Adrian Klaver 2013-12-23 16:23:03 Re: pg_upgrade & tablespaces