Bruno Wolff III <bruno(a)wolff.to> writes:
On Mon, Sep 12, 2011 at 03:16:47 -0400,
Tom Lane <tgl(a)redhat.com> wrote:
> OK, it's built and filed at
>
https://admin.fedoraproject.org/updates/postgresql-9.1.0-1.fc16
One thing I noticed is that service postgresql initdb and
service postgresql help no longer work. I was hoping they'd redirect
to the systemd equivalents of the old function.
I would have liked that too, but systemd is completely unfriendly to
custom actions of that sort. The new dispensation is that you have
to do "postgresql-setup initdb" or "postgresql-setup upgrade".
This is documented in
/usr/share/doc/postgresql-*/README.rpm-dist
and in the F16 release notes at
https://fedoraproject.org/wiki/Docs/Beats/DatabaseServers
I'm willing to document it somewhere else if you have a better idea.
(This isn't new with 9.1, btw --- the last version or so of 9.0
for F16 was the same, since we switched over to native systemd
files.)
regards, tom lane