Re: base backup client as auxiliary backend process - Mailing list pgsql-hackers

From Robert Haas
Subject Re: base backup client as auxiliary backend process
Date
Msg-id CA+TgmobT6+o9W-siFwK8JJb-uFRrCogf83bx=kxuZ-wfmobxow@mail.gmail.com
Whole thread Raw
In response to Re: base backup client as auxiliary backend process  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: base backup client as auxiliary backend process  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Thu, Jul 11, 2019 at 4:10 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > On Thu, Jul 11, 2019 at 10:36 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Gotta have config files in place already, no?
>
> > Why?
>
> How's the postmaster to know that it's supposed to run pg_basebackup
> rather than start normally?  Where will it get the connection information?
> Seem to need configuration data *somewhere*.

Maybe just:

./postgres --replica='connstr' -D createme

?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: base backup client as auxiliary backend process
Next
From: David Fetter
Date:
Subject: Re: initdb recommendations