Frank Bax <fbax(at)execulink(dot)com> writes:
> I've got the following line in /etc/rc.local on my OpenBSD 2.6 system:
> /usr/local/bin/pgwrap -o /var/pgsql/log postmaster -i -S -o -F >>
> /var/pgsql/postmaster.log
> Postgres starts ok, and /var/pgsql/postmaster.log gets created, but it
> stays at size=0.
Remove -S switch.
Might be a good idea to redirect postmaster's stderr into the logfile,
as well as stdout.
regards, tom lane