Jamie Deppeler wrote:
> I am trying to build a new installer application.
> I am in the process of upgrading postgresql 8.1 to 8.3.3 but
> i am having
> a issue which i can't seemed to resolve.
>
> Error output from rpmbuilder
>
> + su -c - user'$RPM_BUILD_ROOT/usr/local/app/pgsql/bin/postmaster -D
> $RPM_BUILD_ROOT/usr/local/app/pgsql/data -S '
> /var/tmp/app-root/usr/local/app/pgsql/bin/postmaster: option requires an
> argument -- S
> Try "postmaster --help" for more information.
> error: Bad exit status from /var/tmp/rpm-tmp.12297 (%install)
From version 8.2 on, 'postmaster' is a symbolic link to 'postgres'.
The '-S' flag has a different meaning there.
If you want silent mode, either give postmaster (or postgres) the
option '--silent_mode=on' on the command line or add 'silent_mode=on'
to postgresql.conf.
Yours,
Laurenz Albe