Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 18:53:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234879] databases/postgresql10-server: Add 'promote' as a command to rc.d script
Message-ID:  <bug-234879-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234879

            Bug ID: 234879
           Summary: databases/postgresql10-server: Add 'promote' as a
                    command to rc.d script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql@FreeBSD.org
          Reporter: trix@basement.net
          Assignee: pgsql@FreeBSD.org
             Flags: maintainer-feedback?(pgsql@FreeBSD.org)

In /usr/local/etc/rc.d/postgresql, adding a line:

promote_cmd=3D"postgresql_command promote"

would allow scripts, like from databases/pgpool-II-40, to use the service(8)
command to promote a replica rather than calling pg_ctl(1) directly and hav=
ing
to know the values of variables postgresql_data, etc.

The rc script already supports most of the other commonly used pg_ctl(1)
commands.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234879-7788>