Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied
Date
Msg-id 537632EA.9010908@commandprompt.com
Whole thread Raw
In response to Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
At a minimum:

Check to see if there is going to be a permission error BEFORE the base 
backup begins:

starting basebackup:  checking perms: ERROR no access to pg_hba.conf~ base backup will fail

JD



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied
Next
From: Andres Freund
Date:
Subject: Re: pg_basebackup: could not get transaction log end position from server: FATAL: could not open file "./pg_hba.conf~": Permission denied