On Thu, Jul 11, 2019 at 4:10 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > Robert Haas <robertmh...@gmail.com> writes: > > On Thu, Jul 11, 2019 at 10:36 AM Tom Lane <t...@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