contrib/start-scripts/freebsd script fails with Ambiguous output redirect.

From: Yavuz TANRIVERDİ <sternix(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
Date: 2018-03-15 19:59:42
Message-ID: CAH-+qaYitPTijkWuWM6Td58b93vhdKuXa+4cXq-J83BtqRT4sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi

I install PostgreSQL 10.3 from official sources to FreeBSD 11.1 than add
start script to rc.d system

# cp postgresql-10.3/contrib/start-scripts/freebsd
/usr/local/etc/rc.d/postgresql.sh
# chmod +x /usr/local/etc/rc.d/postgresql.sh

than want to start the server with "/usr/local/etc/rc.d/postgresql.sh
start" command but i get "Ambiguous output redirect." error

i suspect the commit
https://github.com/postgres/postgres/commit/dfc015dcf46c1996bd7ed5866e9e045d258604b3
caused this failure (older version of this script works fine)

if you interested i edit contrib/start-scripts/freebsd file with pg_ctl
based version, i used without any failures. you can find in
https://github.com/sternix/files/blob/master/scripts/postgresql.sh

Thanks.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-03-15 21:23:46 Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
Previous Message David G. Johnston 2018-03-15 16:01:07 Re: Enahancement in pgsql