BUG #8098: Bad option -I in contrib/start-scripts/linux

Started by Catherine Devlinalmost 13 years ago2 messagesbugs
Jump to latest
#1Catherine Devlin
catherine.devlin@gmail.com

The following bug has been logged on the website:

Bug reference: 8098
Logged by: Catherine Devlin
Email address: catherine.devlin@gmail.com
PostgreSQL version: 9.2.4
Operating system: Ubuntu 12.10
Description:

Actually, bug is in 9.3devel from the git repo, but that's not an option in
your dropdown.

root@illyan:/etc/init.d# cp
/home/catherine/sw/postgresql/contrib/start-scripts/linux postgresql
root@illyan:/etc/init.d# chmod +x postgresql
root@illyan:/etc/init.d# ./postgresql start
Starting PostgreSQL: ok
root@illyan:/etc/init.d# ./postgresql status
pg_ctl: no server running
root@illyan:/etc/init.d# cat /usr/local/pgsql/data/serverlog
/usr/local/pgsql/bin/postmaster: invalid option -- 'I'
Try "postmaster --help" for more information.

Removing -I from line 87 corrects the bug.

87c87
< su - $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1
---

su - $PGUSER -c "$DAEMON -I -D '$PGDATA' &" >>$PGLOG 2>&1

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Catherine Devlin (#1)
Re: BUG #8098: Bad option -I in contrib/start-scripts/linux

catherine.devlin@gmail.com writes:

root@illyan:/etc/init.d# cat /usr/local/pgsql/data/serverlog
/usr/local/pgsql/bin/postmaster: invalid option -- 'I'
Try "postmaster --help" for more information.

Meh. Looks like Peter broke this in commit
87306184580c9c49717b00d48a2f9e717f21e0a8. Thanks for the report!

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs