Re: PATCH: Exclude additional directories in pg_basebackup - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: PATCH: Exclude additional directories in pg_basebackup
Date
Msg-id CAB7nPqSjr-nXHU2SN7yeN90HWYPXDwj=WepFer+H3DEVK5KfHQ@mail.gmail.com
Whole thread Raw
In response to Re: PATCH: Exclude additional directories in pg_basebackup  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: PATCH: Exclude additional directories in pg_basebackup
List pgsql-hackers
On Thu, Aug 18, 2016 at 1:35 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> I don't remember how pg_snapshot works, but it's probably fine
> to start with an empty subdir (is it possible to export a snapshot from
> a prepared transaction?)

From xact.c:   /*    * Likewise, don't allow PREPARE after pg_export_snapshot.  This could be    * supported if we
addedcleanup logic to twophase.c, but for now it    * doesn't seem worth the trouble.    */   if
(XactHasExportedSnapshots())      ereport(ERROR,               (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("cannotPREPARE a transaction that has exported snapshots")));
 
So that's fine.
-- 
Michael



pgsql-hackers by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: [RFC] Change the default of update_process_title to off
Next
From: Peter Geoghegan
Date:
Subject: Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism